12 references to ThrowInvalidOperationException_ExpectedString
System.Text.Json (12)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (7)
36ThrowHelper.ThrowInvalidOperationException_ExpectedString(TokenType); 73ThrowHelper.ThrowInvalidOperationException_ExpectedString(_tokenType); 137ThrowHelper.ThrowInvalidOperationException_ExpectedString(_tokenType); 831ThrowHelper.ThrowInvalidOperationException_ExpectedString(TokenType); 1238ThrowHelper.ThrowInvalidOperationException_ExpectedString(TokenType); 1303ThrowHelper.ThrowInvalidOperationException_ExpectedString(TokenType); 1369ThrowHelper.ThrowInvalidOperationException_ExpectedString(TokenType);
System\Text\Json\Serialization\Converters\Value\CharConverter.cs (1)
17ThrowHelper.ThrowInvalidOperationException_ExpectedString(reader.TokenType);
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (1)
19ThrowHelper.ThrowInvalidOperationException_ExpectedString(reader.TokenType);
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
21ThrowHelper.ThrowInvalidOperationException_ExpectedString(reader.TokenType);
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
21ThrowHelper.ThrowInvalidOperationException_ExpectedString(reader.TokenType);
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
29ThrowHelper.ThrowInvalidOperationException_ExpectedString(reader.TokenType);