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;
4740var thisParam = ((MethodSymbol)_symbol).ThisParameter;
5475ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
5515ImmutableArray.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)
9638var 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>)"/>.
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)
7251private ImmutableArray<FlowAnalysisAnnotations> GetParametersAnnotations(ImmutableArray<BoundExpression> arguments, ImmutableArray<ParameterSymbol> parametersOpt, ImmutableArray<int> argsToParamsOpt, bool expanded)
7347ParameterSymbol parameter,
7484ParameterSymbol parameter,
7488ArrayBuilder<ParameterSymbol>? notNullParametersOpt,
7579FlowAnalysisAnnotations notNullBasedOnParameters(FlowAnalysisAnnotations parameterAnnotations, ArrayBuilder<ParameterSymbol>? notNullParametersOpt, ParameterSymbol parameter)
7781private (ParameterSymbol? Parameter, TypeWithAnnotations Type, FlowAnalysisAnnotations Annotations, bool isExpandedParamsArgument) GetCorrespondingParameter(
7783ImmutableArray<ParameterSymbol> parametersOpt,
7793var parameter = Binder.GetCorrespondingParameter(argumentOrdinal, parametersOpt, argsToParamsOpt, expanded);
8529ParameterSymbol? parameterOpt,
8658void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameter, bool topLevel, (TypeSymbol targetType, Location location) arg)
8729void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameterSymbol, bool topLevel, Location location)
8784ParameterSymbol? parameterOpt = null,
8860static (MethodSymbol invokeSignature, ImmutableArray<ParameterSymbol>) getDelegateOrFunctionPointerInfo(TypeSymbol targetType)
8865_ => (null, ImmutableArray<ParameterSymbol>.Empty),
9334ParameterSymbol? parameterOpt,
9380var parameter = method.Parameters[0];
9553ParameterSymbol? parameterOpt,
9805private MethodSymbol CheckMethodGroupReceiverNullability(BoundMethodGroup group, ImmutableArray<ParameterSymbol> parameters, MethodSymbol method, bool invokedAsExtensionMethod)
9825foreach (var parameter in parameters)
9923var parameter = node.ParameterSymbol;
10038BoundParameter { ParameterSymbol: ParameterSymbol parameter }
10210var parameter = parameters[i + offset];
10230var parameter = parameters[i + offset];
10426ParameterSymbol? parameter = null;
10598private void ReportArgumentWarnings(BoundExpression argument, TypeWithState argumentType, ParameterSymbol parameter)
10609private void ReportNullabilityMismatchInRefArgument(BoundExpression argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType)
10621private void ReportNullabilityMismatchInArgument(SyntaxNode argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType, bool forOutput)
10626private void ReportNullabilityMismatchInArgument(Location argumentLocation, TypeSymbol argumentType, ParameterSymbol? parameterOpt, TypeSymbol parameterType, bool forOutput)
10642private TypeWithAnnotations GetDeclaredParameterResult(ParameterSymbol parameter)
11263var parameter = method.Parameters[0];
11834private 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)
12247ParameterSymbol parameter = GetUpdatedSymbol(node, node.Parameter);
13034ParameterSymbol parameter = GetUpdatedSymbol(node, node.Parameter);
13599ParameterSymbol 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;