16 references to First
Microsoft.CodeAnalysis (9)
WellKnownTypes.cs (9)
23System_Math = First, 342internal const int Count = WellKnownType.NextAvailable - WellKnownType.First; 663var typeId = (WellKnownType)(i + WellKnownType.First); 674var typeId = (WellKnownType)(i + WellKnownType.First); 679case WellKnownType.First: 714return typeId >= WellKnownType.First && typeId < WellKnownType.NextAvailable; 725return typeId >= WellKnownType.First && typeId < WellKnownType.NextAvailable && typeId != WellKnownType.ExtSentinel; 730return s_metadataNames[(int)(id - WellKnownType.First)]; 742Debug.Assert(WellKnownType.First != 0);
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Compilation_WellKnownMembers.cs (1)
124int index = (int)type - (int)WellKnownType.First;
Symbols\MissingMetadataTypeSymbol.cs (1)
312return (typeId >= (int)WellKnownType.First) ? SpecialType.None : (SpecialType)_lazyTypeId;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\MissingSpecialMember.cs (2)
591for (var wkt = WellKnownType.First; wkt < WellKnownType.NextAvailable; wkt++) 907Assert.Equal(204, (int)(WellKnownType.CSharp7Sentinel - WellKnownType.First));
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\WellKnownMembers.vb (1)
368Dim index As Integer = type - WellKnownType.First
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\WellKnownTypeValidationTests.vb (2)
517For wkt = WellKnownType.First To lastType 580For wkt = WellKnownType.First To lastType