Base:
property
Parameters
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Parameters
18 references to Parameters
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.CapturedParametersFinder.cs (2)
41var captured = ArrayBuilder<ParameterSymbol>.GetInstance(primaryConstructor.Parameters.Length); 91foreach (var parameter in primaryConstructor.Parameters)
Binder\Binder_Expressions.cs (1)
1730primaryConstructor.Parameters.Any(static (p, name) => p.Name == name, name) &&
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1257return new WithParametersBinder(primaryConstructor.Parameters, nextBinder);
FlowAnalysis\DefiniteAssignment.cs (3)
347foreach (var parameter in primaryConstructor.Parameters) 357EnterParameters(primaryConstructor.Parameters); // with parameters assigned 1844foreach (var parameter in primaryConstructor.Parameters)
Symbols\Source\SourceConstructorSymbolBase.cs (6)
90ParameterHelpers.EnsureRefKindAttributesExist(compilation, Parameters, diagnostics, modifyCompilation: true); 91ParameterHelpers.EnsureParamCollectionAttributeExistsAndModifyCompilation(compilation, Parameters, diagnostics); 92ParameterHelpers.EnsureNativeIntegerAttributeExists(compilation, Parameters, diagnostics, modifyCompilation: true); 93ParameterHelpers.EnsureScopedRefAttributeExists(compilation, Parameters, diagnostics, modifyCompilation: true); 94ParameterHelpers.EnsureNullableAttributeExists(compilation, this, Parameters, diagnostics, modifyCompilation: true); 96foreach (var parameter in this.Parameters)
Symbols\Source\SourceMemberContainerSymbol.cs (3)
4229var existingOrAddedMembers = addProperties(ctor.Parameters); 4235primaryAndCopyCtorAmbiguity = ctor.ParameterCount == 1 && ctor.Parameters[0].Type.Equals(this, TypeCompareKind.AllIgnoreOptions); 4290ctor.Parameters.SelectAsArray<ParameterSymbol, ParameterSymbol>(param => new SignatureOnlyParameterSymbol(param.TypeWithAnnotations,
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
219foreach (ParameterSymbol p in Parameters)
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (1)
36Parameters: _ctor.Parameters.SelectAsArray<ParameterSymbol, ImmutableArray<Location>, ParameterSymbol>(