Home
last modified time | relevance | path

Searched refs:InvalidJsonException (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs437 [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 …]
DJsonTokenizerTest.cs282 Assert.Throws<InvalidJsonException>(() => tokenizer.Next()); in InvalidStructure()
405 Assert.Throws<InvalidJsonException>(() => tokenizer.Next()); in AssertThrowsAfter()
/external/protobuf/csharp/src/Google.Protobuf/
DInvalidJsonException.cs46 public sealed class InvalidJsonException : IOException class
48 internal InvalidJsonException(string message) in InvalidJsonException() method in Google.Protobuf.InvalidJsonException
DJsonTokenizer.cs280 … 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/
DProgram.cs104 catch (InvalidJsonException e) in PerformRequest()
/external/protobuf/
DMakefile.am131 csharp/src/Google.Protobuf/InvalidJsonException.cs \