19 references to ParameterCount
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Expressions.cs (2)
9634
Debug.Assert(property.
ParameterCount
> 0);
10035
property.OriginalDefinition is {
ParameterCount
: 1 } original &&
Binder\Binder_Invocation.cs (1)
1991
if (p.
ParameterCount
> 0)
Compiler\ClsComplianceChecker.cs (1)
688
startPos = ((PropertySymbol)associated).
ParameterCount
;
Emitter\Model\PropertySymbolAdapter.cs (1)
165
return (ushort)AdaptedPropertySymbol.
ParameterCount
;
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (1)
514
(property.
ParameterCount
== 0))
Symbols\MemberSymbolExtensions.cs (1)
105
return ((PropertySymbol)member).
ParameterCount
;
Symbols\Metadata\PE\PEPropertySymbol.cs (3)
380
else if (this.
ParameterCount
== 0)
658
if (this.
ParameterCount
> 0)
676
return (this.
ParameterCount
> 0) && _containingType.IsComImport;
Symbols\NamedTypeSymbol.cs (1)
601
if (member is PropertySymbol {
ParameterCount
: > 0 } prop)
Symbols\NativeIntegerTypeSymbol.cs (2)
122
if (underlyingProperty.
ParameterCount
== 0 &&
461
Debug.Assert(underlyingProperty.
ParameterCount
== 0);
Symbols\PropertySymbol.cs (1)
482
hash = Hash.Combine(hash, this.
ParameterCount
);
Symbols\PropertySymbolExtensions.cs (2)
15
return property.
ParameterCount
!= 0 && property.Parameters[property.
ParameterCount
- 1].IsParams;
Symbols\Source\SourcePropertySymbol.cs (3)
754
Debug.Assert(this.
ParameterCount
== implementation.
ParameterCount
);
755
for (var i = 0; i < this.
ParameterCount
; i++)