Base:
property
ParameterCount
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.ParameterCount
6 references to ParameterCount
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
1768ContainingType is SourceMemberContainerTypeSymbol { IsRecord: false, IsRecordStruct: false, PrimaryConstructor: SynthesizedPrimaryConstructor { ParameterCount: not 0 } primaryConstructor, OriginalDefinition: var containingTypeDefinition } &&
Symbols\Source\SourceConstructorSymbol.cs (3)
313Debug.Assert(this.ParameterCount == implementation.ParameterCount); 314for (var i = 0; i < this.ParameterCount; i++)
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
130if (ContainingType is { IsRecord: true } or { IsRecordStruct: true } || ParameterCount == 0)
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (1)
47protected override int GetParameterCountFromSyntax() => _ctor.ParameterCount;