2 references to CurrentDepth
System.Text.Json (2)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
158state.Current.IsPushedReferenceForCycleDetection = state.CurrentDepth > 0;
System\Text\Json\Serialization\WriteStack.cs (1)
152Debug.Assert(CurrentDepth == 0);