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