Binder\Binder.ValueChecks.cs (41)
105internal ParameterSymbol? Parameter { get; }
114internal MixableDestination(ParameterSymbol parameter, BoundExpression argument)
150internal ParameterSymbol? Parameter { get; }
156internal EscapeArgument(ParameterSymbol? parameter, BoundExpression argument, RefKind refKind, bool isArgList = false)
164public void Deconstruct(out ParameterSymbol? parameter, out BoundExpression argument, out RefKind refKind)
186internal ParameterSymbol? Parameter { get; }
199internal EscapeValue(ParameterSymbol? parameter, BoundExpression argument, EscapeLevel escapeLevel, bool isRefEscape)
207public void Deconstruct(out ParameterSymbol? parameter, out BoundExpression argument, out EscapeLevel escapeLevel, out bool isRefEscape)
1138ParameterSymbol parameterSymbol = parameter.ParameterSymbol;
1195static void reportReadOnlyParameterError(ParameterSymbol parameterSymbol, SyntaxNode node, BindValueKind valueKind, bool checkingReceiver, BindingDiagnosticBag diagnostics)
1251private static uint GetParameterValEscape(ParameterSymbol parameter)
1261private static EscapeLevel? GetParameterValEscapeLevel(ParameterSymbol parameter) =>
1264private static uint GetParameterRefEscape(ParameterSymbol parameter)
1276private static EscapeLevel? GetParameterRefEscapeLevel(ParameterSymbol parameter) =>
1279private bool CheckParameterValEscape(SyntaxNode node, ParameterSymbol parameter, uint escapeTo, BindingDiagnosticBag diagnostics)
1297private bool CheckParameterRefEscape(SyntaxNode node, BoundExpression parameter, ParameterSymbol parameterSymbol, uint escapeTo, bool checkingReceiver, BindingDiagnosticBag diagnostics)
1984ImmutableArray<ParameterSymbol> parameters,
2073ImmutableArray<ParameterSymbol> parameters,
2138ImmutableArray<ParameterSymbol> parameters,
2231ImmutableArray<ParameterSymbol> parameters,
2304ImmutableArray<ParameterSymbol> parameters,
2354var parameter = argIndex < parameters.Length ?
2382static bool isMixableParameter([NotNullWhen(true)] ParameterSymbol? parameter) =>
2434ParameterSymbol? thisParameter = null;
2481ImmutableArray<ParameterSymbol> parameters,
2551ImmutableArray<ParameterSymbol> parameters,
2606ImmutableArray<ParameterSymbol> parameters,
2682ImmutableArray<ParameterSymbol> parameters,
2736private static string GetInvocationParameterName(ParameterSymbol? parameter)
2753ParameterSymbol? parameter,
2796ImmutableArray<ParameterSymbol> parameters,
2896ImmutableArray<ParameterSymbol> parameters,
2980ImmutableArray<ParameterSymbol> parameters,
3010private readonly ParameterSymbol _underlyingParameter;
3012internal TypeParameterThisParameterSymbol(ParameterSymbol underlyingParameter, TypeParameterSymbol type)
3402var thisParam = ((MethodSymbol)_symbol).ThisParameter;
3728var thisParam = ((MethodSymbol)_symbol).ThisParameter;
4072var thisParam = ((MethodSymbol)_symbol).ThisParameter;
4764var thisParam = ((MethodSymbol)_symbol).ThisParameter;
5499ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
5539ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
Binder\Binder_Expressions.cs (21)
455TryGetPrimaryConstructorParameterUsedAsValue(primaryConstructor, result) is (ParameterSymbol parameter, SyntaxNode syntax) &&
484ParameterSymbol parameter,
495ParameterSymbol parameter,
1770if (GetSymbolOrMethodOrPropertyGroup(lookupResult, node, name, node.Arity, members, diagnostics, out bool isError, qualifierOpt: null) is ParameterSymbol shadowedParameter &&
2074var parameter = (ParameterSymbol)symbol;
2491ParameterSymbol? thisSymbol = this.ContainingMemberOrLambda.EnclosingThisSymbol();
3502ImmutableArray<ParameterSymbol> parameters,
3558ImmutableArray<ParameterSymbol> parameters,
3591ImmutableArray<ParameterSymbol> parameters,
3674static ParameterSymbol getCorrespondingParameter(in MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters, int arg)
3684ImmutableArray<ParameterSymbol> parameters,
3695var correspondingParameter = getCorrespondingParameter(in memberAnalysisResult, parameters, interpolatedStringArgNum);
3812var parameter = parameters[originalParameterIndex];
3832var parameter = parameters[originalParameterIndex];
4972var parametersPassedToBase = new OrderedSet<ParameterSymbol>();
4981if (TryGetPrimaryConstructorParameterUsedAsValue(primaryConstructor, analyzedArguments.Argument(i)) is (ParameterSymbol parameter, SyntaxNode syntax))
4985var baseParameter = GetCorrespondingParameter(i, resultMember.Parameters, argsToParamsOpt, expanded: true);
5076private static (ParameterSymbol, SyntaxNode) TryGetPrimaryConstructorParameterUsedAsValue(SynthesizedPrimaryConstructor primaryConstructor, BoundExpression boundExpression)
9635var parameter = property.Parameters[0];
Binder\Binder_Invocation.cs (17)
1215ParameterSymbol receiverParameter = method.Parameters.First();
1363private BoundExpression GetDefaultParameterSpecialNoConversion(SyntaxNode syntax, ParameterSymbol parameter, BindingDiagnosticBag diagnostics)
1421internal static ParameterSymbol? GetCorrespondingParameter(
1423ImmutableArray<ParameterSymbol> parameters,
1428ParameterSymbol? parameter;
1465ImmutableArray<ParameterSymbol> parameters,
1480var parameter = GetCorrespondingParameter(i, parameters, argsToParamsOpt, expanded);
1541foreach (var parameter in parameters.AsSpan()[..lastIndex])
1597BoundExpression bindDefaultArgument(SyntaxNode syntax, ParameterSymbol parameter, Symbol? containingMember, bool enableCallerInfo, BindingDiagnosticBag diagnostics, ArrayBuilder<BoundExpression> argumentsBuilder, int argumentsCount, ImmutableArray<int> argsToParamsOpt)
1717private BoundExpression CreateParamsCollection(SyntaxNode node, ParameterSymbol paramsParameter, ImmutableArray<BoundExpression> collectionArgs, BindingDiagnosticBag diagnostics)
1848!(d.Arguments is [ParameterSymbol shadowedParameter] && shadowedParameter.Type.Equals(typeOrValue.Data.ValueExpression.Type, TypeCompareKind.AllIgnoreOptions))) // If the type and the name match, we would resolve to the same type rather than a value at the end.
1968var parameterListList = ArrayBuilder<ImmutableArray<ParameterSymbol>>.GetInstance();
1988var parameterListList = ArrayBuilder<ImmutableArray<ParameterSymbol>>.GetInstance();
2006private ImmutableArray<BoundExpression> BuildArgumentsForErrorRecovery(AnalyzedArguments analyzedArguments, IEnumerable<ImmutableArray<ParameterSymbol>> parameterListList)
2140private static TypeSymbol GetCorrespondingParameterType(AnalyzedArguments analyzedArguments, int i, ImmutableArray<ParameterSymbol> parameterList)
2146foreach (var parameter in parameterList)
2163return BuildArgumentsForErrorRecovery(analyzedArguments, Enumerable.Empty<ImmutableArray<ParameterSymbol>>());
Binder\Semantics\OverloadResolution\OverloadResolution.cs (19)
1301ParameterSymbol final = member.GetParameters().Last();
2063private static ParameterSymbol GetParameter(int argIndex, MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters)
2521var parameter1 = GetParameter(i, m1.Result, m1LeastOverriddenParameters);
2522var parameter2 = GetParameter(i, m2.Result, m2LeastOverriddenParameters);
2550static TypeSymbol getParameterTypeAndRefKind(int i, MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters, TypeWithAnnotations paramsElementTypeOpt, out RefKind parameter1RefKind)
2552var parameter = GetParameter(i, result, parameters);
2596ImmutableArray<ParameterSymbol> parameters1,
2598ImmutableArray<ParameterSymbol> parameters2)
2607var p1 = GetParameter(i, m1.Result, parameters1);
2608var p2 = GetParameter(i, m2.Result, parameters2);
3679private static bool IdenticalParameters(ImmutableArray<ParameterSymbol> p1, ImmutableArray<ParameterSymbol> p2)
3694var param1 = p1[i];
3695var param2 = p2[i];
3804ImmutableArray<ParameterSymbol> parameters = member.GetParameters();
3830var parameter = parameters[parm];
3855ParameterSymbol parameter,
3967var parameter = parameters[parm];
Compilation\CSharpSemanticModel.cs (12)
1783case ParameterSymbol _:
3223protected ParameterSymbol GetParameterSymbol(
3224ImmutableArray<ParameterSymbol> parameters,
3228foreach (var symbol in parameters)
3685var thisParam = GetThisParameter(boundNode.Type, containingType, containingMember, out resultKind);
3730private static ParameterSymbol GetThisParameter(TypeSymbol typeOfThis, NamedTypeSymbol containingType, Symbol containingMember, out LookupResultKind resultKind)
3739ParameterSymbol thisParam;
4504ParameterSymbol param = FindNamedParameter(containingInvocationInfo.Symbol.GetSymbol().GetParameters(), argumentName);
4521ParameterSymbol param = FindNamedParameter(invocationSym.GetSymbol().GetParameters(), argumentName);
4543private static ParameterSymbol FindNamedParameter(ImmutableArray<ParameterSymbol> parameters, string argumentName)
4545foreach (ParameterSymbol param in parameters)
FlowAnalysis\NullableWalker.cs (67)
247/// The delegate is invoked by <see cref="VisitConversion(BoundConversion, BoundExpression, Conversion, TypeWithAnnotations, TypeWithState, bool, bool, bool, AssignmentKind, ParameterSymbol, bool, bool, bool, bool, Optional<LocalState>,bool, Location, ArrayBuilder<VisitResult>)"/>.
588ParameterSymbol methodThisParameter = MethodThisParameter;
638method.TryGetThisParameter(out var thisParameter);
1172foreach (var parameter in parameters)
1198foreach (var parameter in this.MethodParameters)
1231private void EnforceParameterNotNullWhenOnExit(SyntaxNode syntax, ImmutableArray<ParameterSymbol> parameters, bool sense, LocalState stateWhen)
1238foreach (var parameter in parameters)
1244private void ReportParameterIfBadConditionalState(SyntaxNode syntax, ParameterSymbol parameter, bool sense, LocalState stateWhen)
1253bool parameterHasBadConditionalState(ParameterSymbol parameter, bool sense, LocalState stateWhen)
1291private void EnforceNotNullIfNotNull(SyntaxNode? syntaxOpt, LocalState state, ImmutableArray<ParameterSymbol> parameters, ImmutableHashSet<string> inputParamNames, NullableFlowState outputState, ParameterSymbol? outputParam)
1298foreach (var inputParam in parameters)
1921var parameter = (ParameterSymbol)symbol;
2025var thisParameter = method?.ThisParameter;
2125if (symbol is ParameterSymbol { ContainingSymbol: SynthesizedPrimaryConstructor primaryConstructor } parameter &&
2137if (enclosingMemberMethod?.TryGetThisParameter(out ParameterSymbol methodThisParameter) == true &&
2233private static object GetParameterAsDiagnosticArgument(ParameterSymbol? parameterOpt)
2240private static object GetContainingSymbolAsDiagnosticArgument(ParameterSymbol? parameterOpt)
2302ParameterSymbol? parameterOpt = null,
2809var parameter = methodParameters[i];
2818private void EnterParameter(ParameterSymbol parameter, TypeWithAnnotations parameterType)
2845var parameter = equalsValue.Parameter;
5111ParameterSymbol parameter,
6588private FlowAnalysisAnnotations GetParameterAnnotations(ParameterSymbol parameter)
6746ImmutableArray<ParameterSymbol> parametersOpt,
6760private delegate (MethodSymbol? method, bool returnNotNull) ArgumentsCompletionDelegate(ImmutableArray<VisitResult> argumentResults, ImmutableArray<ParameterSymbol> parametersOpt, MethodSymbol? method);
6767ImmutableArray<ParameterSymbol> parametersOpt,
6808ImmutableArray<ParameterSymbol> parametersOpt,
6848var notNullParametersBuilder = parameterHasNotNullIfNotNull ? ArrayBuilder<ParameterSymbol>.GetInstance() : null;
6860(ParameterSymbol? parameter, TypeWithAnnotations parameterType, FlowAnalysisAnnotations parameterAnnotations, bool isExpandedParamsArgument) =
6932(ParameterSymbol? parameter, TypeWithAnnotations parameterType, FlowAnalysisAnnotations parameterAnnotations, _) =
6983return (ImmutableArray<VisitResult> results, ImmutableArray<ParameterSymbol> parametersOpt, MethodSymbol? method) =>
6995static void expandParamsCollection(ref ImmutableArray<BoundExpression> arguments, ref ImmutableArray<RefKind> refKindsOpt, ImmutableArray<ParameterSymbol> parametersOpt, ref ImmutableArray<int> argsToParamsOpt, ref BitVector defaultArguments)
7130if (current.TryGetThisParameter(out var thisParameter) && thisParameter is not null)
7254private ImmutableArray<FlowAnalysisAnnotations> GetParametersAnnotations(ImmutableArray<BoundExpression> arguments, ImmutableArray<ParameterSymbol> parametersOpt, ImmutableArray<int> argsToParamsOpt, bool expanded)
7350ParameterSymbol parameter,
7487ParameterSymbol parameter,
7491ArrayBuilder<ParameterSymbol>? notNullParametersOpt,
7582FlowAnalysisAnnotations notNullBasedOnParameters(FlowAnalysisAnnotations parameterAnnotations, ArrayBuilder<ParameterSymbol>? notNullParametersOpt, ParameterSymbol parameter)
7784private (ParameterSymbol? Parameter, TypeWithAnnotations Type, FlowAnalysisAnnotations Annotations, bool isExpandedParamsArgument) GetCorrespondingParameter(
7786ImmutableArray<ParameterSymbol> parametersOpt,
7796var parameter = Binder.GetCorrespondingParameter(argumentOrdinal, parametersOpt, argsToParamsOpt, expanded);
8532ParameterSymbol? parameterOpt,
8661void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameter, bool topLevel, (TypeSymbol targetType, Location location) arg)
8732void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameterSymbol, bool topLevel, Location location)
8787ParameterSymbol? parameterOpt = null,
8863static (MethodSymbol invokeSignature, ImmutableArray<ParameterSymbol>) getDelegateOrFunctionPointerInfo(TypeSymbol targetType)
8868_ => (null, ImmutableArray<ParameterSymbol>.Empty),
9337ParameterSymbol? parameterOpt,
9383var parameter = method.Parameters[0];
9556ParameterSymbol? parameterOpt,
9808private MethodSymbol CheckMethodGroupReceiverNullability(BoundMethodGroup group, ImmutableArray<ParameterSymbol> parameters, MethodSymbol method, bool invokedAsExtensionMethod)
9828foreach (var parameter in parameters)
9926var parameter = node.ParameterSymbol;
10041BoundParameter { ParameterSymbol: ParameterSymbol parameter }
10213var parameter = parameters[i + offset];
10233var parameter = parameters[i + offset];
10429ParameterSymbol? parameter = null;
10601private void ReportArgumentWarnings(BoundExpression argument, TypeWithState argumentType, ParameterSymbol parameter)
10612private void ReportNullabilityMismatchInRefArgument(BoundExpression argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType)
10624private void ReportNullabilityMismatchInArgument(SyntaxNode argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType, bool forOutput)
10629private void ReportNullabilityMismatchInArgument(Location argumentLocation, TypeSymbol argumentType, ParameterSymbol? parameterOpt, TypeSymbol parameterType, bool forOutput)
10645private TypeWithAnnotations GetDeclaredParameterResult(ParameterSymbol parameter)
11266var parameter = method.Parameters[0];
11837private void CheckExtensionMethodThisNullability(BoundExpression expr, Conversion conversion, ParameterSymbol parameter, TypeWithState result)
Generated\BoundNodes.xml.Generated.cs (14)
368public BoundParameterEqualsValue(SyntaxNode syntax, ParameterSymbol parameter, ImmutableArray<LocalSymbol> locals, BoundExpression value, bool hasErrors = false)
379public ParameterSymbol Parameter { get; }
384public BoundParameterEqualsValue Update(ParameterSymbol parameter, ImmutableArray<LocalSymbol> locals, BoundExpression value)
2376public BoundParameterId(SyntaxNode syntax, ParameterSymbol parameter, FieldSymbol? hoistedField, TypeSymbol type, bool hasErrors)
2387public BoundParameterId(SyntaxNode syntax, ParameterSymbol parameter, FieldSymbol? hoistedField, TypeSymbol type)
2399public ParameterSymbol Parameter { get; }
2405public BoundParameterId Update(ParameterSymbol parameter, FieldSymbol? hoistedField, TypeSymbol type)
4632public BoundParameter(SyntaxNode syntax, ParameterSymbol parameterSymbol, TypeSymbol type, bool hasErrors)
4642public BoundParameter(SyntaxNode syntax, ParameterSymbol parameterSymbol, TypeSymbol type)
4653public ParameterSymbol ParameterSymbol { get; }
4658public BoundParameter Update(ParameterSymbol parameterSymbol, TypeSymbol type)
12246ParameterSymbol parameter = GetUpdatedSymbol(node, node.Parameter);
13033ParameterSymbol parameter = GetUpdatedSymbol(node, node.Parameter);
13598ParameterSymbol parameterSymbol = GetUpdatedSymbol(node, node.ParameterSymbol);
Symbols\Compilation_WellKnownMembers.cs (8)
245internal static Symbol? GetRuntimeMember(NamedTypeSymbol declaringType, in MemberDescriptor descriptor, SignatureComparer<MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol> comparer, AssemblySymbol? accessWithinOpt)
251internal static Symbol? GetRuntimeMember(ImmutableArray<Symbol> members, in MemberDescriptor descriptor, SignatureComparer<MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol> comparer, AssemblySymbol? accessWithinOpt)
1005foreach (var param in sig.Parameters)
1061internal class SpecialMembersSignatureComparer : SignatureComparer<MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol>
1131protected override ImmutableArray<ParameterSymbol> GetParameters(MethodSymbol method)
1136protected override ImmutableArray<ParameterSymbol> GetParameters(PropertySymbol property)
1141protected override TypeSymbol GetParamType(ParameterSymbol parameter)
1170protected override bool IsByRefParam(ParameterSymbol parameter)
Symbols\Source\ParameterHelpers.cs (22)
127where TParameterSymbol : ParameterSymbol
215withTypeParametersBinder.ValidateParameterNameConflicts(typeParameters, parameters.Cast<TParameterSymbol, ParameterSymbol>(), allowShadowingNames, diagnostics);
222internal static void EnsureRefKindAttributesExist(PEModuleBuilder moduleBuilder, ImmutableArray<ParameterSymbol> parameters)
227internal static void EnsureRefKindAttributesExist(CSharpCompilation? compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag diagnostics, bool modifyCompilation)
239private static void EnsureRefKindAttributesExist(CSharpCompilation compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag? diagnostics, bool modifyCompilation, PEModuleBuilder? moduleBuilder)
241foreach (var parameter in parameters)
268internal static void EnsureParamCollectionAttributeExistsAndModifyCompilation(CSharpCompilation compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag diagnostics)
276internal static void EnsureNativeIntegerAttributeExists(PEModuleBuilder moduleBuilder, ImmutableArray<ParameterSymbol> parameters)
282internal static void EnsureNativeIntegerAttributeExists(CSharpCompilation? compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag diagnostics, bool modifyCompilation)
299private static void EnsureNativeIntegerAttributeExists(CSharpCompilation compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag? diagnostics, bool modifyCompilation, PEModuleBuilder? moduleBuilder)
302foreach (var parameter in parameters)
318internal static bool RequiresScopedRefAttribute(ParameterSymbol parameter)
334internal static bool IsRefScopedByDefault(ParameterSymbol parameter)
344internal static void EnsureScopedRefAttributeExists(PEModuleBuilder moduleBuilder, ImmutableArray<ParameterSymbol> parameters)
349internal static void EnsureScopedRefAttributeExists(CSharpCompilation? compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag diagnostics, bool modifyCompilation)
361private static void EnsureScopedRefAttributeExists(CSharpCompilation compilation, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag? diagnostics, bool modifyCompilation, PEModuleBuilder? moduleBuilder)
363foreach (var parameter in parameters)
379internal static void EnsureNullableAttributeExists(PEModuleBuilder moduleBuilder, Symbol container, ImmutableArray<ParameterSymbol> parameters)
384internal static void EnsureNullableAttributeExists(CSharpCompilation? compilation, Symbol container, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag? diagnostics, bool modifyCompilation)
396private static void EnsureNullableAttributeExists(CSharpCompilation compilation, Symbol container, ImmutableArray<ParameterSymbol> parameters, BindingDiagnosticBag? diagnostics, bool modifyCompilation, PEModuleBuilder? moduleBuilder)
400foreach (var parameter in parameters)
417internal static Location GetParameterLocation(ParameterSymbol parameter) => parameter.GetNonNullSyntaxNode().Location;
Symbols\Source\SourceMemberContainerSymbol.cs (15)
3934private static bool ParametersMatchPropertyAccessor(PropertySymbol propertySymbol, bool getNotSet, ImmutableArray<ParameterSymbol> methodParams)
3945var methodParam = methodParams[i];
3965private static bool ParametersMatchEventAccessor(EventSymbol eventSymbol, ImmutableArray<ParameterSymbol> methodParams)
4290ctor.Parameters.SelectAsArray<ParameterSymbol, ParameterSymbol>(param => new SignatureOnlyParameterSymbol(param.TypeWithAnnotations,
4337ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
4386ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
4446ImmutableArray<ParameterSymbol>.Empty,
4514ImmutableArray<Symbol> addProperties(ImmutableArray<ParameterSymbol> recordParameters)
4518foreach (ParameterSymbol param in recordParameters)
4525ImmutableArray<ParameterSymbol>.Empty,
4596bool checkMemberNotHidden(Symbol symbol, ParameterSymbol param)
4620ImmutableArray<ParameterSymbol>.Empty,
4651ImmutableArray<ParameterSymbol>.Empty,
4713ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (11)
19internal delegate void ReportMismatchInParameterType<TArg>(BindingDiagnosticBag bag, MethodSymbol overriddenMethod, MethodSymbol overridingMethod, ParameterSymbol parameter, bool topLevel, TArg arg);
1224(BindingDiagnosticBag diagnostics, MethodSymbol overriddenMethod, MethodSymbol overridingMethod, ParameterSymbol overridingParameter, bool topLevel, Location location)
1293var baseParameter = baseParameters[i];
1296var overrideParameter = overrideParameters[parameterIndex];
1330var overrideParam = overrideParameters[i + overrideParameterOffset];
1331var baseParam = baseParameters[i];
1456var baseParameter = baseParameters[i];
1457var overrideParameter = overrideParameters[i + overrideParameterOffset];
1489ReportMismatchInParameterType<(ParameterSymbol BaseParameter, TArg Arg)> reportMismatchInParameterType,
1507var baseParameter = baseParameters[i];
1508var overrideParameter = overrideParameters[i + overrideParameterOffset];
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (7)
76private void GenerateByteArrayConstructorBody(SyntheticBoundNodeFactory factory, ArrayBuilder<BoundStatement> statements, ImmutableArray<ParameterSymbol> parameters)
90private void GenerateSingleByteConstructorBody(SyntheticBoundNodeFactory factory, ArrayBuilder<BoundStatement> statements, ImmutableArray<ParameterSymbol> parameters)
112private readonly ImmutableArray<ParameterSymbol> _parameters;
114private readonly Action<SyntheticBoundNodeFactory, ArrayBuilder<BoundStatement>, ImmutableArray<ParameterSymbol>> _getConstructorBody;
118Func<MethodSymbol, ImmutableArray<ParameterSymbol>> getParameters,
119Action<SyntheticBoundNodeFactory, ArrayBuilder<BoundStatement>, ImmutableArray<ParameterSymbol>> getConstructorBody) :
126public override ImmutableArray<ParameterSymbol> Parameters => _parameters;