5 references to _currentPath
System.Text.Json (5)
System\Text\Json\Schema\JsonSchemaExporter.cs (5)
403public int CurrentDepth => _currentPath.Count; 414_currentPath.Add(nodeId); 420_currentPath.RemoveAt(_currentPath.Count - 1); 450return new JsonSchemaExporterContext(typeInfo, propertyInfo, baseTypeInfo, [.. _currentPath]);