31 references to Depth
PresentationBuildTasks (31)
Framework\System\Windows\Markup\StyleModeStack.cs (4)
47
Debug.Assert(
Depth
>= 0, "StyleModeStack's depth was " +
Depth
+ ", should be >= 0");
64
Debug.Assert(
Depth
>= 0, "StyleMode::Pop() with depth of " +
Depth
+ ", should be >= 0");
Framework\System\Windows\Markup\StyleXamlParser.cs (9)
125
if (_styleModeStack.
Depth
== 0)
639
int depth = _styleModeStack.
Depth
;
837
if (_styleModeStack.
Depth
!= 1 &&
847
if (_styleModeStack.
Depth
== 3)
927
_styleModeStack.
Depth
> 2)
953
if (_styleModeStack.
Depth
== 1)
1008
_styleModeStack.
Depth
> 2)
1033
int depth = _styleModeStack.
Depth
;
1124
if (_styleModeStack.
Depth
== 1 && mode == StyleMode.Base)
Framework\System\Windows\Markup\TemplateXamlParser.cs (18)
112
if (_styleModeStack.
Depth
== 0)
131
if (_dataTypePropertyNode != null && _dataTypePropertyNodeDepth == _styleModeStack.
Depth
)
659
if (mode == StyleMode.Base && _styleModeStack.
Depth
== 0)
701
if (mode == StyleMode.Base && _styleModeStack.
Depth
> 0)
723
_styleModeStack.
Depth
>= 2 &&
730
if (_styleModeStack.
Depth
== 2)
753
if (xamlElementStartNode.SerializerType != null && _styleModeStack.
Depth
> 0)
839
if (mode == StyleMode.Base && _styleModeStack.
Depth
> 0 )
905
if (_styleModeStack.
Depth
== 2)
993
_styleModeStack.
Depth
> 2)
1019
if (_styleModeStack.
Depth
== 1)
1096
_styleModeStack.
Depth
> 2)
1106
if (_styleModeStack.
Depth
<= 2)
1126
if (_styleModeStack.
Depth
== 1)
1143
_styleModeStack.
Depth
== 2)
1148
_styleModeStack.
Depth
== 3 &&
1236
else if (_styleModeStack.
Depth
== 1 && mode == StyleMode.Base)
1618
_dataTypePropertyNodeDepth = _styleModeStack.
Depth
;