Base:
property
ParameterCount
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.ParameterCount
6 references to ParameterCount
Microsoft.CodeAnalysis.CSharp (6)
Binder\WithPrimaryConstructorParametersBinder.cs (1)
52if (_type is SourceMemberContainerTypeSymbol { PrimaryConstructor: { ParameterCount: not 0 } primaryCtor })
Symbols\Source\SourceMemberContainerSymbol.cs (3)
3300if (primaryConstructor.ParameterCount == 0) 3963if (ctor.ParameterCount != 0) 3972primaryAndCopyCtorAmbiguity = ctor.ParameterCount == 1 && ctor.Parameters[0].Type.Equals(this, TypeCompareKind.AllIgnoreOptions);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
93if (ContainingType is { IsRecord: true } or { IsRecordStruct: true } || ParameterCount == 0)
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (1)
57protected override int GetParameterCountFromSyntax() => _ctor.ParameterCount;