Lines Matching refs:ParseFrom
133 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_Empty()
167 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_SingleValues()
201 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_RepeatedValues()
233 TestMap parsed = TestMap.Parser.ParseFrom(bytes); in RoundTrip_Maps()
248 var parsed = TestMap.Parser.ParseFrom(bytes); in MapWithEmptyEntry()
267 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyValue()
284 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyKey_PrimitiveValue()
301 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyKey_MessageValue()
329 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapIgnoresExtraFieldsWithinEntryMessages()
353 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapFieldOrderIsIrrelevant()
399 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapNonContiguousEntries()
435 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in DuplicateKeys_LastEntryWins()
621 var message2 = TestAllTypes.Parser.ParseFrom(bytes); in OneofSerialization_NonDefaultValue()
635 var message2 = TestAllTypes.Parser.ParseFrom(bytes); in OneofSerialization_DefaultValue()
654 var parsed = TestAllTypes.Parser.ParseFrom(stream); in IgnoreUnknownFields_RealDataStillRead()
663 var empty = Empty.Parser.ParseFrom(data); in IgnoreUnknownFields_AllTypes()
674 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseFrom(data)); in TruncatedMessageFieldThrows()
695 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseFrom(stream)); in ExtraEndGroupThrows()