19 references to LiveDepth
System.Xaml (19)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (19)
370
if ((_context.
LiveDepth
== 1) && (_rootObjectInstance is not null))
432
Debug.Assert(_context.
LiveDepth
> 0);
482
if (_context.
LiveDepth
> 1)
494
if (_context.
LiveDepth
> 1)
510
Debug.Assert(_context.
LiveDepth
> 1);
529
if (_context.
LiveDepth
== 1)
563
if (_context.
LiveDepth
== 0 && !_inDispose)
616
Debug.Assert(_context.
LiveDepth
> 0);
942
while (_context.
LiveDepth
> 0)
960
bool seenStartObject = _context.
LiveDepth
> 1 || _context.CurrentType is not null;
963
while (_context.
LiveDepth
> 0)
1217
if (ctx.
LiveDepth
> 1 && !(inst is XAML3.MarkupExtension))
1219
if (ctx.
LiveDepth
> 1)
1502
if (ctx.
LiveDepth
> 2 && ctx.ParentProperty == XamlLanguage.Key &&
1731
Debug.Assert(parentInstance is not null || (parentProperty is not null && parentProperty.IsDirective) || ctx.
LiveDepth
== 1);
1733
if (ctx.
LiveDepth
!= 1 || !_skipProvideValueOnRoot)
1777
Debug.Assert(ctx.
LiveDepth
> 1);
2155
bool isRoot = ctx.
LiveDepth
== 1;
2444
if (_context.
LiveDepth
> 0)