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