Home
last modified time | relevance | path

Searched refs:ObjectDepth (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonTokenizerTest.cs85 public void ObjectDepth() in ObjectDepth() method in Google.Protobuf.JsonTokenizerTest
90 Assert.AreEqual(0, tokenizer.ObjectDepth); in ObjectDepth()
92 Assert.AreEqual(1, tokenizer.ObjectDepth); in ObjectDepth()
94 Assert.AreEqual(1, tokenizer.ObjectDepth); in ObjectDepth()
96 Assert.AreEqual(2, tokenizer.ObjectDepth); in ObjectDepth()
98 Assert.AreEqual(2, tokenizer.ObjectDepth); in ObjectDepth()
100 Assert.AreEqual(2, tokenizer.ObjectDepth); in ObjectDepth()
102 Assert.AreEqual(2, tokenizer.ObjectDepth); in ObjectDepth()
104 Assert.AreEqual(2, tokenizer.ObjectDepth); // Depth hasn't changed in array in ObjectDepth()
106 Assert.AreEqual(2, tokenizer.ObjectDepth); in ObjectDepth()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DJsonTokenizer.cs80 internal int ObjectDepth { get; private set; } property in Google.Protobuf.JsonTokenizer
93 ObjectDepth--; in PushBack()
97 ObjectDepth++; in PushBack()
123 ObjectDepth++; in Next()
127 ObjectDepth--; in Next()
DJsonParser.cs150 if (tokenizer.ObjectDepth > settings.RecursionLimit) in Merge()
492 int typeUrlObjectDepth = tokenizer.ObjectDepth; in MergeAny()
498 tokenizer.ObjectDepth != typeUrlObjectDepth) in MergeAny()
503 if (tokenizer.ObjectDepth < typeUrlObjectDepth) in MergeAny()