Home
last modified time | relevance | path

Searched refs:CreateWithLimits (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs323 …CodedInputStream input = CodedInputStream.CreateWithLimits(new MemoryStream(data64.ToByteArray()),… in MaliciousRecursion()
333 CodedInputStream input = CodedInputStream.CreateWithLimits(ms, 16, 100); in SizeLimit()
572 … Assert.Throws<ArgumentOutOfRangeException>(() => CodedInputStream.CreateWithLimits(stream, 0, 1)); in CreateWithLimits_InvalidLimits()
573 … Assert.Throws<ArgumentOutOfRangeException>(() => CodedInputStream.CreateWithLimits(stream, 1, 0)); in CreateWithLimits_InvalidLimits()
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs218 … public static CodedInputStream CreateWithLimits(Stream input, int sizeLimit, int recursionLimit) in CreateWithLimits() method in Google.Protobuf.CodedInputStream