6 references to CurrentDepth
System.Formats.Cbor (6)
System\Formats\Cbor\Reader\CborReader.cs (5)
208if (CurrentDepth >= MaxDepth) 216Debug.Assert(CurrentDepth < MaxDepth); 412depth: CurrentDepth, 422int restoreHeight = CurrentDepth - checkpoint.Depth; 462Debug.Assert(CurrentDepth == checkpoint.Depth);
System\Formats\Cbor\Reader\CborReader.SkipValue.cs (1)
43Debug.Assert(0 <= depth && depth <= CurrentDepth);