17 references to Count
Microsoft.CodeAnalysis (4)
Compilation\Compilation.cs (1)
974
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)
105
s_typeIdToTypeCodeMap = new Microsoft.Cci.PrimitiveTypeCode[(int)SpecialType.
Count
+ 1];
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\GetSemanticInfoTests.cs (1)
5948
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++)
68
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
131
if (count >= (int)SpecialType.
Count
)
138
Assert.Equal((int)SpecialType.
Count
, count + knownMissingSpecialTypes.Count);
149
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
200
for (int i = 1; i <= (int)SpecialType.
Count
; i++)
238
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());