19 references to LiveDepth
System.Xaml (19)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (19)
371
if ((_context.
LiveDepth
== 1) && (_rootObjectInstance is not null))
433
Debug.Assert(_context.
LiveDepth
> 0);
483
if (_context.
LiveDepth
> 1)
495
if (_context.
LiveDepth
> 1)
511
Debug.Assert(_context.
LiveDepth
> 1);
530
if (_context.
LiveDepth
== 1)
564
if (_context.
LiveDepth
== 0 && !_inDispose)
617
Debug.Assert(_context.
LiveDepth
> 0);
943
while (_context.
LiveDepth
> 0)
961
bool seenStartObject = _context.
LiveDepth
> 1 || _context.CurrentType is not null;
964
while (_context.
LiveDepth
> 0)
1218
if (ctx.
LiveDepth
> 1 && !(inst is XAML3.MarkupExtension))
1220
if (ctx.
LiveDepth
> 1)
1503
if (ctx.
LiveDepth
> 2 && ctx.ParentProperty == XamlLanguage.Key &&
1732
Debug.Assert(parentInstance is not null || (parentProperty is not null && parentProperty.IsDirective) || ctx.
LiveDepth
== 1);
1734
if (ctx.
LiveDepth
!= 1 || !_skipProvideValueOnRoot)
1778
Debug.Assert(ctx.
LiveDepth
> 1);
2156
bool isRoot = ctx.
LiveDepth
== 1;
2445
if (_context.
LiveDepth
> 0)