32 references to TokenType
Microsoft.NET.Sdk.WorkloadManifestReader (32)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (4)
60switch (reader.TokenType) 71switch (reader.TokenType) 95throw new JsonFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 108throw new JsonFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex);
SdkDirectoryWorkloadManifestProvider.JsonReader.cs (2)
25var tokenType = reader.TokenType; 45if (reader.Read() && expected == reader.TokenType)
WorkloadManifestReader.cs (26)
17if (reader.Read() && expected == reader.TokenType) 55if (reader.Read() && reader.TokenType.IsInt()) 68if (reader.Read() && reader.TokenType.IsBool()) 106switch (reader.TokenType) 116if (reader.TokenType == JsonTokenType.String) 123else if (reader.TokenType.IsInt()) 193throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 210var tokenType = reader.TokenType; 236switch (reader.TokenType) 253throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 268switch (reader.TokenType) 279throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 294switch (reader.TokenType) 305throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 320switch (reader.TokenType) 328throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 343switch (reader.TokenType) 351throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 366switch (reader.TokenType) 377throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 392switch (reader.TokenType) 403throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 424switch (reader.TokenType) 505throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 522switch (reader.TokenType) 569throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex);