Searched refs:InvalidJsonException (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 437 [TestCase("+0", typeof(InvalidJsonException))] 438 [TestCase("00", typeof(InvalidJsonException))] 439 [TestCase("-00", typeof(InvalidJsonException))] 440 [TestCase("--1", typeof(InvalidJsonException))] 441 [TestCase("+1", typeof(InvalidJsonException))] 561 Assert.Throws<InvalidJsonException>(() => TestAllTypes.Parser.ParseJson(json)); in NumberToDouble_Invalid() 583 [TestCase("1,0", typeof(InvalidJsonException))] 584 [TestCase("1.0.0", typeof(InvalidJsonException))] 585 [TestCase("+1", typeof(InvalidJsonException))] 586 [TestCase("00", typeof(InvalidJsonException))] [all …]
|
D | JsonTokenizerTest.cs | 282 Assert.Throws<InvalidJsonException>(() => tokenizer.Next()); in InvalidStructure() 405 Assert.Throws<InvalidJsonException>(() => tokenizer.Next()); in AssertThrowsAfter()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | InvalidJsonException.cs | 46 public sealed class InvalidJsonException : IOException class 48 internal InvalidJsonException(string message) in InvalidJsonException() method in Google.Protobuf.InvalidJsonException
|
D | JsonTokenizer.cs | 280 … throw new InvalidJsonException("Invalid first character of token: " + next.Value); in NextImpl() 730 internal InvalidJsonException CreateException(string message) in CreateException() 733 return new InvalidJsonException(message); in CreateException()
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 104 catch (InvalidJsonException e) in PerformRequest()
|
/external/protobuf/ |
D | Makefile.am | 131 csharp/src/Google.Protobuf/InvalidJsonException.cs \
|