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