22 references to CheckExpectedType
System.Text.Json (22)
System\Text\Json\Document\JsonDocument.cs (20)
138CheckExpectedType(JsonTokenType.StartArray, row.TokenType); 149CheckExpectedType(JsonTokenType.StartObject, row.TokenType); 160CheckExpectedType(JsonTokenType.StartArray, row.TokenType); 298CheckExpectedType(expectedType, tokenType); 349CheckExpectedType( 404CheckExpectedType(JsonTokenType.String, row.TokenType); 425CheckExpectedType(JsonTokenType.Number, row.TokenType); 447CheckExpectedType(JsonTokenType.Number, row.TokenType); 469CheckExpectedType(JsonTokenType.Number, row.TokenType); 491CheckExpectedType(JsonTokenType.Number, row.TokenType); 513CheckExpectedType(JsonTokenType.Number, row.TokenType); 535CheckExpectedType(JsonTokenType.Number, row.TokenType); 557CheckExpectedType(JsonTokenType.Number, row.TokenType); 579CheckExpectedType(JsonTokenType.Number, row.TokenType); 601CheckExpectedType(JsonTokenType.Number, row.TokenType); 623CheckExpectedType(JsonTokenType.Number, row.TokenType); 645CheckExpectedType(JsonTokenType.Number, row.TokenType); 667CheckExpectedType(JsonTokenType.String, row.TokenType); 702CheckExpectedType(JsonTokenType.String, row.TokenType); 737CheckExpectedType(JsonTokenType.String, row.TokenType);
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (2)
17CheckExpectedType(JsonTokenType.StartObject, row.TokenType); 117CheckExpectedType(JsonTokenType.StartObject, row.TokenType);