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)
1115ParameterSymbol parameterSymbol = parameter.ParameterSymbol;
1172static void reportReadOnlyParameterError(ParameterSymbol parameterSymbol, SyntaxNode node, BindValueKind valueKind, bool checkingReceiver, BindingDiagnosticBag diagnostics)
1228private static SafeContext GetParameterValEscape(ParameterSymbol parameter)
1238private static EscapeLevel? GetParameterValEscapeLevel(ParameterSymbol parameter) =>
1241private static SafeContext GetParameterRefEscape(ParameterSymbol parameter)
1253private static EscapeLevel? GetParameterRefEscapeLevel(ParameterSymbol parameter) =>
1256private bool CheckParameterValEscape(SyntaxNode node, ParameterSymbol parameter, SafeContext escapeTo, BindingDiagnosticBag diagnostics)
1274private bool CheckParameterRefEscape(SyntaxNode node, BoundExpression parameter, ParameterSymbol parameterSymbol, SafeContext escapeTo, bool checkingReceiver, BindingDiagnosticBag diagnostics)
1961ImmutableArray<ParameterSymbol> parameters,
2050ImmutableArray<ParameterSymbol> parameters,
2115ImmutableArray<ParameterSymbol> parameters,
2208ImmutableArray<ParameterSymbol> parameters,
2281ImmutableArray<ParameterSymbol> parameters,
2331var parameter = argIndex < parameters.Length ?
2359static bool isMixableParameter([NotNullWhen(true)] ParameterSymbol? parameter) =>
2411ParameterSymbol? thisParameter = null;
2458ImmutableArray<ParameterSymbol> parameters,
2528ImmutableArray<ParameterSymbol> parameters,
2583ImmutableArray<ParameterSymbol> parameters,
2659ImmutableArray<ParameterSymbol> parameters,
2713private static string GetInvocationParameterName(ParameterSymbol? parameter)
2730ParameterSymbol? parameter,
2773ImmutableArray<ParameterSymbol> parameters,
2873ImmutableArray<ParameterSymbol> parameters,
2957ImmutableArray<ParameterSymbol> parameters,
2987private readonly ParameterSymbol _underlyingParameter;
2989internal TypeParameterThisParameterSymbol(ParameterSymbol underlyingParameter, TypeParameterSymbol type)
3379var thisParam = ((MethodSymbol)_symbol).ThisParameter;
3705var thisParam = ((MethodSymbol)_symbol).ThisParameter;
4049var thisParam = ((MethodSymbol)_symbol).ThisParameter;
4746var thisParam = ((MethodSymbol)_symbol).ThisParameter;
5481ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
5521ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
Binder\Binder_Expressions.cs (21)
455TryGetPrimaryConstructorParameterUsedAsValue(primaryConstructor, result) is (ParameterSymbol parameter, SyntaxNode syntax) &&
484ParameterSymbol parameter,
495ParameterSymbol parameter,
1773if (GetSymbolOrMethodOrPropertyGroup(lookupResult, node, name, node.Arity, members, diagnostics, out bool isError, qualifierOpt: null) is ParameterSymbol shadowedParameter &&
2077var parameter = (ParameterSymbol)symbol;
2494ParameterSymbol? thisSymbol = this.ContainingMemberOrLambda.EnclosingThisSymbol();
3505ImmutableArray<ParameterSymbol> parameters,
3561ImmutableArray<ParameterSymbol> parameters,
3594ImmutableArray<ParameterSymbol> parameters,
3677static ParameterSymbol getCorrespondingParameter(in MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters, int arg)
3687ImmutableArray<ParameterSymbol> parameters,
3698var correspondingParameter = getCorrespondingParameter(in memberAnalysisResult, parameters, interpolatedStringArgNum);
3815var parameter = parameters[originalParameterIndex];
3835var parameter = parameters[originalParameterIndex];
4975var parametersPassedToBase = new OrderedSet<ParameterSymbol>();
4984if (TryGetPrimaryConstructorParameterUsedAsValue(primaryConstructor, analyzedArguments.Argument(i)) is (ParameterSymbol parameter, SyntaxNode syntax))
4988var baseParameter = GetCorrespondingParameter(i, resultMember.Parameters, argsToParamsOpt, expanded: true);
5079private static (ParameterSymbol, SyntaxNode) TryGetPrimaryConstructorParameterUsedAsValue(SynthesizedPrimaryConstructor primaryConstructor, BoundExpression boundExpression)
9636var 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();
2071private static ParameterSymbol GetParameter(int argIndex, MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters)
2529var parameter1 = GetParameter(i, m1.Result, m1LeastOverriddenParameters);
2530var parameter2 = GetParameter(i, m2.Result, m2LeastOverriddenParameters);
2558static TypeSymbol getParameterTypeAndRefKind(int i, MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters, TypeWithAnnotations paramsElementTypeOpt, out RefKind parameter1RefKind)
2560var parameter = GetParameter(i, result, parameters);
2604ImmutableArray<ParameterSymbol> parameters1,
2606ImmutableArray<ParameterSymbol> parameters2)
2615var p1 = GetParameter(i, m1.Result, parameters1);
2616var p2 = GetParameter(i, m2.Result, parameters2);
3700private static bool IdenticalParameters(ImmutableArray<ParameterSymbol> p1, ImmutableArray<ParameterSymbol> p2)
3715var param1 = p1[i];
3716var param2 = p2[i];
3825ImmutableArray<ParameterSymbol> parameters = member.GetParameters();
3851var parameter = parameters[parm];
3876ParameterSymbol parameter,
3988var 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;
4511ParameterSymbol param = FindNamedParameter(containingInvocationInfo.Symbol.GetSymbol().GetParameters(), argumentName);
4528ParameterSymbol param = FindNamedParameter(invocationSym.GetSymbol().GetParameters(), argumentName);
4550private static ParameterSymbol FindNamedParameter(ImmutableArray<ParameterSymbol> parameters, string argumentName)
4552foreach (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>)"/>.
589ParameterSymbol methodThisParameter = MethodThisParameter;
639method.TryGetThisParameter(out var thisParameter);
1233foreach (var parameter in parameters)
1259foreach (var parameter in this.MethodParameters)
1292private void EnforceParameterNotNullWhenOnExit(SyntaxNode syntax, ImmutableArray<ParameterSymbol> parameters, bool sense, LocalState stateWhen)
1299foreach (var parameter in parameters)
1305private void ReportParameterIfBadConditionalState(SyntaxNode syntax, ParameterSymbol parameter, bool sense, LocalState stateWhen)
1314bool parameterHasBadConditionalState(ParameterSymbol parameter, bool sense, LocalState stateWhen)
1352private void EnforceNotNullIfNotNull(SyntaxNode? syntaxOpt, LocalState state, ImmutableArray<ParameterSymbol> parameters, ImmutableHashSet<string> inputParamNames, NullableFlowState outputState, ParameterSymbol? outputParam)
1359foreach (var inputParam in parameters)
1982var parameter = (ParameterSymbol)symbol;
2086var thisParameter = method?.ThisParameter;
2186if (symbol is ParameterSymbol { ContainingSymbol: SynthesizedPrimaryConstructor primaryConstructor } parameter &&
2198if (enclosingMemberMethod?.TryGetThisParameter(out ParameterSymbol methodThisParameter) == true &&
2294private static object GetParameterAsDiagnosticArgument(ParameterSymbol? parameterOpt)
2301private static object GetContainingSymbolAsDiagnosticArgument(ParameterSymbol? parameterOpt)
2363ParameterSymbol? parameterOpt = null,
2870var parameter = methodParameters[i];
2879private void EnterParameter(ParameterSymbol parameter, TypeWithAnnotations parameterType)
2906var parameter = equalsValue.Parameter;
5172ParameterSymbol parameter,
6649private FlowAnalysisAnnotations GetParameterAnnotations(ParameterSymbol parameter)
6807ImmutableArray<ParameterSymbol> parametersOpt,
6821private delegate (MethodSymbol? method, bool returnNotNull) ArgumentsCompletionDelegate(ImmutableArray<VisitResult> argumentResults, ImmutableArray<ParameterSymbol> parametersOpt, MethodSymbol? method);
6828ImmutableArray<ParameterSymbol> parametersOpt,
6869ImmutableArray<ParameterSymbol> parametersOpt,
6909var notNullParametersBuilder = parameterHasNotNullIfNotNull ? ArrayBuilder<ParameterSymbol>.GetInstance() : null;
6921(ParameterSymbol? parameter, TypeWithAnnotations parameterType, FlowAnalysisAnnotations parameterAnnotations, bool isExpandedParamsArgument) =
6993(ParameterSymbol? parameter, TypeWithAnnotations parameterType, FlowAnalysisAnnotations parameterAnnotations, _) =
7044return (ImmutableArray<VisitResult> results, ImmutableArray<ParameterSymbol> parametersOpt, MethodSymbol? method) =>
7056static void expandParamsCollection(ref ImmutableArray<BoundExpression> arguments, ref ImmutableArray<RefKind> refKindsOpt, ImmutableArray<ParameterSymbol> parametersOpt, ref ImmutableArray<int> argsToParamsOpt, ref BitVector defaultArguments)
7191if (current.TryGetThisParameter(out var thisParameter) && thisParameter is not null)
7312private ImmutableArray<FlowAnalysisAnnotations> GetParametersAnnotations(ImmutableArray<BoundExpression> arguments, ImmutableArray<ParameterSymbol> parametersOpt, ImmutableArray<int> argsToParamsOpt, bool expanded)
7408ParameterSymbol parameter,
7545ParameterSymbol parameter,
7549ArrayBuilder<ParameterSymbol>? notNullParametersOpt,
7640FlowAnalysisAnnotations notNullBasedOnParameters(FlowAnalysisAnnotations parameterAnnotations, ArrayBuilder<ParameterSymbol>? notNullParametersOpt, ParameterSymbol parameter)
7842private (ParameterSymbol? Parameter, TypeWithAnnotations Type, FlowAnalysisAnnotations Annotations, bool isExpandedParamsArgument) GetCorrespondingParameter(
7844ImmutableArray<ParameterSymbol> parametersOpt,
7854var parameter = Binder.GetCorrespondingParameter(argumentOrdinal, parametersOpt, argsToParamsOpt, expanded);
8590ParameterSymbol? parameterOpt,
8719void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameter, bool topLevel, (TypeSymbol targetType, Location location) arg)
8790void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameterSymbol, bool topLevel, Location location)
8845ParameterSymbol? parameterOpt = null,
8921static (MethodSymbol invokeSignature, ImmutableArray<ParameterSymbol>) getDelegateOrFunctionPointerInfo(TypeSymbol targetType)
8926_ => (null, ImmutableArray<ParameterSymbol>.Empty),
9395ParameterSymbol? parameterOpt,
9441var parameter = method.Parameters[0];
9614ParameterSymbol? parameterOpt,
9866private MethodSymbol CheckMethodGroupReceiverNullability(BoundMethodGroup group, ImmutableArray<ParameterSymbol> parameters, MethodSymbol method, bool invokedAsExtensionMethod)
9886foreach (var parameter in parameters)
9984var parameter = node.ParameterSymbol;
10099BoundParameter { ParameterSymbol: ParameterSymbol parameter }
10271var parameter = parameters[i + offset];
10291var parameter = parameters[i + offset];
10487ParameterSymbol? parameter = null;
10659private void ReportArgumentWarnings(BoundExpression argument, TypeWithState argumentType, ParameterSymbol parameter)
10670private void ReportNullabilityMismatchInRefArgument(BoundExpression argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType)
10682private void ReportNullabilityMismatchInArgument(SyntaxNode argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType, bool forOutput)
10687private void ReportNullabilityMismatchInArgument(Location argumentLocation, TypeSymbol argumentType, ParameterSymbol? parameterOpt, TypeSymbol parameterType, bool forOutput)
10703private TypeWithAnnotations GetDeclaredParameterResult(ParameterSymbol parameter)
11324var parameter = method.Parameters[0];
11895private void CheckExtensionMethodThisNullability(BoundExpression expr, Conversion conversion, ParameterSymbol parameter, TypeWithState result)
Generated\BoundNodes.xml.Generated.cs (14)
369public BoundParameterEqualsValue(SyntaxNode syntax, ParameterSymbol parameter, ImmutableArray<LocalSymbol> locals, BoundExpression value, bool hasErrors = false)
380public ParameterSymbol Parameter { get; }
385public BoundParameterEqualsValue Update(ParameterSymbol parameter, ImmutableArray<LocalSymbol> locals, BoundExpression value)
2377public BoundParameterId(SyntaxNode syntax, ParameterSymbol parameter, FieldSymbol? hoistedField, TypeSymbol type, bool hasErrors)
2388public BoundParameterId(SyntaxNode syntax, ParameterSymbol parameter, FieldSymbol? hoistedField, TypeSymbol type)
2400public ParameterSymbol Parameter { get; }
2406public BoundParameterId Update(ParameterSymbol parameter, FieldSymbol? hoistedField, TypeSymbol type)
4633public BoundParameter(SyntaxNode syntax, ParameterSymbol parameterSymbol, TypeSymbol type, bool hasErrors)
4643public BoundParameter(SyntaxNode syntax, ParameterSymbol parameterSymbol, TypeSymbol type)
4654public ParameterSymbol ParameterSymbol { get; }
4659public BoundParameter Update(ParameterSymbol parameterSymbol, TypeSymbol type)
12283ParameterSymbol parameter = GetUpdatedSymbol(node, node.Parameter);
13070ParameterSymbol parameter = GetUpdatedSymbol(node, node.Parameter);
13635ParameterSymbol 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)
3948private static bool ParametersMatchPropertyAccessor(PropertySymbol propertySymbol, bool getNotSet, ImmutableArray<ParameterSymbol> methodParams)
3959var methodParam = methodParams[i];
3979private static bool ParametersMatchEventAccessor(EventSymbol eventSymbol, ImmutableArray<ParameterSymbol> methodParams)
4304ctor.Parameters.SelectAsArray<ParameterSymbol, ParameterSymbol>(param => new SignatureOnlyParameterSymbol(param.TypeWithAnnotations,
4351ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
4400ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
4460ImmutableArray<ParameterSymbol>.Empty,
4528ImmutableArray<Symbol> addProperties(ImmutableArray<ParameterSymbol> recordParameters)
4532foreach (ParameterSymbol param in recordParameters)
4539ImmutableArray<ParameterSymbol>.Empty,
4610bool checkMemberNotHidden(Symbol symbol, ParameterSymbol param)
4634ImmutableArray<ParameterSymbol>.Empty,
4665ImmutableArray<ParameterSymbol>.Empty,
4727ImmutableArray.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;