33 references to Count
Microsoft.CodeAnalysis (1)
InternalUtilities\MultiDictionary.cs (1)
52
Debug.Assert(_count == v.
Count
);
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
49
Debug.Assert(value.
Count
== 1);
Compiler\ClsComplianceChecker.cs (2)
861
if (sameNameSymbols.
Count
> 0)
879
Debug.Assert(sameNameSymbols.
Count
> 0);
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.TypePublicSymbol.cs (1)
93
var builder = ArrayBuilder<Symbol>.GetInstance(symbols.
Count
);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
129
var builder = ArrayBuilder<Symbol>.GetInstance(symbols.
Count
);
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
218
int setCount = set.
Count
;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
160
switch (explicitImpl.
Count
)
401
switch (explicitImpl.
Count
)
461
if (set.
Count
!= 0)
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
174
if (set.
Count
> 1)
Symbols\TypeSymbol.cs (10)
845
if (explicitImpl.
Count
== 1)
850
else if (explicitImpl.
Count
> 1)
1103
switch (implementingMember.
Count
)
1110
if ((interfaceAccessor1 is object && FindImplementationInInterface(interfaceAccessor1, implementingInterface).
Count
!= 0) ||
1111
(interfaceAccessor2 is object && FindImplementationInInterface(interfaceAccessor2, implementingInterface).
Count
!= 0))
1243
switch (implementingMember.
Count
)
1271
if (candidate.
Count
== 0)
1305
if (candidate.
Count
== 0)
1342
switch (methodSet.
Count
)
1499
if (set.
Count
== 1)
Microsoft.CodeAnalysis.VisualBasic (12)
Binding\ExecutableCodeBinder.vb (1)
125
Select Case labels.
Count
Compilation\ClsComplianceChecker.vb (2)
502
If sameNameSymbols.
Count
> 0 Then
518
Debug.Assert(sameNameSymbols.
Count
> 0)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1048
ElseIf _analysis.capturedVariablesByLambda(node.LambdaSymbol).
Count
= 0
Symbols\Source\ImplementsHelper.vb (2)
579
If currTypeExplicitImpl.
Count
= 1 Then
581
ElseIf currTypeExplicitImpl.
Count
> 1 Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
3404
If implementingSet.
Count
= 0 Then
3413
ElseIf implementingSet.
Count
= 1 Then ' Otherwise, a duplicate implementation error is reported above
3417
ElseIf implementingSet.
Count
= 1 Then
3771
(interfaces.Count = 1 AndAlso interfaces.Values.Single().
Count
= 1) Then
3779
If keySetPair.Value.
Count
> 1 Then
3804
If kvp.Value.
Count
>= 2 Then