32 references to TokenType
Microsoft.NET.Sdk.WorkloadManifestReader (32)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (4)
36switch (reader.TokenType) 47switch (reader.TokenType) 71throw new JsonFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 84throw new JsonFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex);
SdkDirectoryWorkloadManifestProvider.JsonReader.cs (2)
26var tokenType = reader.TokenType; 46if (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()) 94switch (reader.TokenType) 104if (reader.TokenType == JsonTokenType.String) 111else if (reader.TokenType.IsInt()) 181throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 198var tokenType = reader.TokenType; 224switch (reader.TokenType) 241throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 256switch (reader.TokenType) 267throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 282switch (reader.TokenType) 293throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 308switch (reader.TokenType) 316throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 331switch (reader.TokenType) 339throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 354switch (reader.TokenType) 365throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 380switch (reader.TokenType) 391throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 412switch (reader.TokenType) 493throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex); 510switch (reader.TokenType) 557throw new WorkloadManifestFormatException(Strings.UnexpectedTokenAtOffset, reader.TokenType, reader.TokenStartIndex);