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,
1803if (GetSymbolOrMethodOrPropertyGroup(lookupResult, node, name, node.Arity, members, diagnostics, out bool isError, qualifierOpt: null) is ParameterSymbol shadowedParameter &&
2107var parameter = (ParameterSymbol)symbol;
2524ParameterSymbol? thisSymbol = this.ContainingMemberOrLambda.EnclosingThisSymbol();
3537ImmutableArray<ParameterSymbol> parameters,
3593ImmutableArray<ParameterSymbol> parameters,
3626ImmutableArray<ParameterSymbol> parameters,
3709static ParameterSymbol getCorrespondingParameter(in MemberAnalysisResult result, ImmutableArray<ParameterSymbol> parameters, int arg)
3719ImmutableArray<ParameterSymbol> parameters,
3730var correspondingParameter = getCorrespondingParameter(in memberAnalysisResult, parameters, interpolatedStringArgNum);
3847var parameter = parameters[originalParameterIndex];
3867var parameter = parameters[originalParameterIndex];
5007var parametersPassedToBase = new OrderedSet<ParameterSymbol>();
5016if (TryGetPrimaryConstructorParameterUsedAsValue(primaryConstructor, analyzedArguments.Argument(i)) is (ParameterSymbol parameter, SyntaxNode syntax))
5020var baseParameter = GetCorrespondingParameter(i, resultMember.Parameters, argsToParamsOpt, expanded: true);
5111private static (ParameterSymbol, SyntaxNode) TryGetPrimaryConstructorParameterUsedAsValue(SynthesizedPrimaryConstructor primaryConstructor, BoundExpression boundExpression)
9668var 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);
3724private static bool IdenticalParameters(ImmutableArray<ParameterSymbol> p1, ImmutableArray<ParameterSymbol> p2)
3739var param1 = p1[i];
3740var param2 = p2[i];
3849ImmutableArray<ParameterSymbol> parameters = member.GetParameters();
3875var parameter = parameters[parm];
3900ParameterSymbol parameter,
4012var 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);
1235foreach (var parameter in parameters)
1261foreach (var parameter in this.MethodParameters)
1294private void EnforceParameterNotNullWhenOnExit(SyntaxNode syntax, ImmutableArray<ParameterSymbol> parameters, bool sense, LocalState stateWhen)
1301foreach (var parameter in parameters)
1307private void ReportParameterIfBadConditionalState(SyntaxNode syntax, ParameterSymbol parameter, bool sense, LocalState stateWhen)
1316bool parameterHasBadConditionalState(ParameterSymbol parameter, bool sense, LocalState stateWhen)
1354private void EnforceNotNullIfNotNull(SyntaxNode? syntaxOpt, LocalState state, ImmutableArray<ParameterSymbol> parameters, ImmutableHashSet<string> inputParamNames, NullableFlowState outputState, ParameterSymbol? outputParam)
1361foreach (var inputParam in parameters)
1984var parameter = (ParameterSymbol)symbol;
2088var thisParameter = method?.ThisParameter;
2188if (symbol is ParameterSymbol { ContainingSymbol: SynthesizedPrimaryConstructor primaryConstructor } parameter &&
2200if (enclosingMemberMethod?.TryGetThisParameter(out ParameterSymbol methodThisParameter) == true &&
2296private static object GetParameterAsDiagnosticArgument(ParameterSymbol? parameterOpt)
2303private static object GetContainingSymbolAsDiagnosticArgument(ParameterSymbol? parameterOpt)
2365ParameterSymbol? parameterOpt = null,
2872var parameter = methodParameters[i];
2881private void EnterParameter(ParameterSymbol parameter, TypeWithAnnotations parameterType)
2908var parameter = equalsValue.Parameter;
5177ParameterSymbol parameter,
6654private FlowAnalysisAnnotations GetParameterAnnotations(ParameterSymbol parameter)
6812ImmutableArray<ParameterSymbol> parametersOpt,
6826private delegate (MethodSymbol? method, bool returnNotNull) ArgumentsCompletionDelegate(ImmutableArray<VisitResult> argumentResults, ImmutableArray<ParameterSymbol> parametersOpt, MethodSymbol? method);
6833ImmutableArray<ParameterSymbol> parametersOpt,
6874ImmutableArray<ParameterSymbol> parametersOpt,
6914var notNullParametersBuilder = parameterHasNotNullIfNotNull ? ArrayBuilder<ParameterSymbol>.GetInstance() : null;
6926(ParameterSymbol? parameter, TypeWithAnnotations parameterType, FlowAnalysisAnnotations parameterAnnotations, bool isExpandedParamsArgument) =
6998(ParameterSymbol? parameter, TypeWithAnnotations parameterType, FlowAnalysisAnnotations parameterAnnotations, _) =
7049return (ImmutableArray<VisitResult> results, ImmutableArray<ParameterSymbol> parametersOpt, MethodSymbol? method) =>
7061static void expandParamsCollection(ref ImmutableArray<BoundExpression> arguments, ref ImmutableArray<RefKind> refKindsOpt, ImmutableArray<ParameterSymbol> parametersOpt, ref ImmutableArray<int> argsToParamsOpt, ref BitVector defaultArguments)
7202if (current.TryGetThisParameter(out var thisParameter) && thisParameter is not null)
7323private ImmutableArray<FlowAnalysisAnnotations> GetParametersAnnotations(ImmutableArray<BoundExpression> arguments, ImmutableArray<ParameterSymbol> parametersOpt, ImmutableArray<int> argsToParamsOpt, bool expanded)
7419ParameterSymbol parameter,
7556ParameterSymbol parameter,
7560ArrayBuilder<ParameterSymbol>? notNullParametersOpt,
7651FlowAnalysisAnnotations notNullBasedOnParameters(FlowAnalysisAnnotations parameterAnnotations, ArrayBuilder<ParameterSymbol>? notNullParametersOpt, ParameterSymbol parameter)
7853private (ParameterSymbol? Parameter, TypeWithAnnotations Type, FlowAnalysisAnnotations Annotations, bool isExpandedParamsArgument) GetCorrespondingParameter(
7855ImmutableArray<ParameterSymbol> parametersOpt,
7865var parameter = Binder.GetCorrespondingParameter(argumentOrdinal, parametersOpt, argsToParamsOpt, expanded);
8601ParameterSymbol? parameterOpt,
8730void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameter, bool topLevel, (TypeSymbol targetType, Location location) arg)
8801void reportBadDelegateParameter(BindingDiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameterSymbol, bool topLevel, Location location)
8856ParameterSymbol? parameterOpt = null,
8932static (MethodSymbol invokeSignature, ImmutableArray<ParameterSymbol>) getDelegateOrFunctionPointerInfo(TypeSymbol targetType)
8937_ => (null, ImmutableArray<ParameterSymbol>.Empty),
9406ParameterSymbol? parameterOpt,
9452var parameter = method.Parameters[0];
9625ParameterSymbol? parameterOpt,
9877private MethodSymbol CheckMethodGroupReceiverNullability(BoundMethodGroup group, ImmutableArray<ParameterSymbol> parameters, MethodSymbol method, bool invokedAsExtensionMethod)
9897foreach (var parameter in parameters)
9995var parameter = node.ParameterSymbol;
10110BoundParameter { ParameterSymbol: ParameterSymbol parameter }
10282var parameter = parameters[i + offset];
10302var parameter = parameters[i + offset];
10498ParameterSymbol? parameter = null;
10670private void ReportArgumentWarnings(BoundExpression argument, TypeWithState argumentType, ParameterSymbol parameter)
10681private void ReportNullabilityMismatchInRefArgument(BoundExpression argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType)
10693private void ReportNullabilityMismatchInArgument(SyntaxNode argument, TypeSymbol argumentType, ParameterSymbol parameter, TypeSymbol parameterType, bool forOutput)
10698private void ReportNullabilityMismatchInArgument(Location argumentLocation, TypeSymbol argumentType, ParameterSymbol? parameterOpt, TypeSymbol parameterType, bool forOutput)
10714private TypeWithAnnotations GetDeclaredParameterResult(ParameterSymbol parameter)
11335var parameter = method.Parameters[0];
11906private 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)
4023private static bool ParametersMatchPropertyAccessor(PropertySymbol propertySymbol, bool getNotSet, ImmutableArray<ParameterSymbol> methodParams)
4034var methodParam = methodParams[i];
4054private static bool ParametersMatchEventAccessor(EventSymbol eventSymbol, ImmutableArray<ParameterSymbol> methodParams)
4379ctor.Parameters.SelectAsArray<ParameterSymbol, ParameterSymbol>(param => new SignatureOnlyParameterSymbol(param.TypeWithAnnotations,
4426ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
4475ImmutableArray.Create<ParameterSymbol>(new SignatureOnlyParameterSymbol(
4535ImmutableArray<ParameterSymbol>.Empty,
4603ImmutableArray<Symbol> addProperties(ImmutableArray<ParameterSymbol> recordParameters)
4607foreach (ParameterSymbol param in recordParameters)
4614ImmutableArray<ParameterSymbol>.Empty,
4685bool checkMemberNotHidden(Symbol symbol, ParameterSymbol param)
4709ImmutableArray<ParameterSymbol>.Empty,
4740ImmutableArray<ParameterSymbol>.Empty,
4802ImmutableArray.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];
1468var baseParameter = baseParameters[i];
1469var overrideParameter = overrideParameters[i + overrideParameterOffset];
1501ReportMismatchInParameterType<(ParameterSymbol BaseParameter, TArg Arg)> reportMismatchInParameterType,
1519var baseParameter = baseParameters[i];
1520var 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;