17 references to Count
Microsoft.CodeAnalysis (4)
Compilation\Compilation.cs (1)
983
if (specialType <= SpecialType.None || specialType > SpecialType.
Count
)
ExtendedSpecialType.cs (1)
65
if (_value > (int)SpecialType.None && _value <= (int)SpecialType.
Count
)
InternalSpecialType.cs (1)
28
System_ReadOnlySpan_T = SpecialType.
Count
+ 1,
SpecialTypes.cs (1)
107
s_typeIdToTypeCodeMap = new Microsoft.Cci.PrimitiveTypeCode[(int)SpecialType.
Count
+ 1];
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\GetSemanticInfoTests.cs (1)
5960
var specialType = SpecialType.
Count
+ 1;
Symbols\CompilationCreationTests.cs (1)
78
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
Symbols\CorLibrary\CorTypes.cs (7)
34
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
70
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
133
if (count >= (int)SpecialType.
Count
)
140
Assert.Equal((int)SpecialType.
Count
, count + knownMissingSpecialTypes.Count);
151
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
202
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
240
Assert.Throws<ArgumentOutOfRangeException>(() => ((Compilation)c1).GetSpecialType(SpecialType.
Count
+ 1));
Symbols\MissingSpecialMember.cs (1)
528
for (var special = SpecialType.None + 1; special <= SpecialType.
Count
; special++)
Microsoft.CodeAnalysis.UnitTests (3)
CorLibTypesTests.cs (2)
26
for (int i = 0; i <= (int)SpecialType.
Count
; i++)
77
for (var specialType = SpecialType.None + 1; specialType <= SpecialType.
Count
; specialType++)
Symbols\SpecialTypeTests.cs (1)
17
AssertEx.Equal("System_Runtime_CompilerServices_InlineArrayAttribute", ((ExtendedSpecialType)SpecialType.
Count
).ToString());