Base:
property
ParameterCount
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.ParameterCount
7 references to ParameterCount
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
1728
ContainingType is SourceMemberContainerTypeSymbol { IsRecord: false, IsRecordStruct: false, PrimaryConstructor: SynthesizedPrimaryConstructor {
ParameterCount
: not 0 } primaryConstructor, OriginalDefinition: var containingTypeDefinition } &&
Binder\WithPrimaryConstructorParametersBinder.cs (1)
52
if (_type is SourceMemberContainerTypeSymbol { PrimaryConstructor: {
ParameterCount
: not 0 } primaryCtor })
Symbols\Source\SourceMemberContainerSymbol.cs (3)
3446
if (primaryConstructor.
ParameterCount
== 0)
4226
if (ctor.
ParameterCount
!= 0)
4235
primaryAndCopyCtorAmbiguity = ctor.
ParameterCount
== 1 && ctor.Parameters[0].Type.Equals(this, TypeCompareKind.AllIgnoreOptions);
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
;