3 writes to _currentDepth
Microsoft.AspNetCore.OpenApi (3)
Schemas\JsonSchemaMapper\JsonSchemaMapper.cs (3)
639
_currentDepth
= 0;
653
_currentDepth
++;
665
_currentDepth
--;
4 references to _currentDepth
Microsoft.AspNetCore.OpenApi (4)
Schemas\JsonSchemaMapper\JsonSchemaMapper.cs (4)
644
public readonly int CurrentDepth =>
_currentDepth
;
648
if (
_currentDepth
== Configuration.MaxDepth)
664
Debug.Assert(
_currentDepth
> 0);
697
pointer =
_currentDepth
== 0 ? "#" : "#/" + string.Join("/", _currentPath);