19 references to LiveDepth
System.Xaml (19)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (19)
363
if ((_context.
LiveDepth
== 1) && (_rootObjectInstance is not null))
421
Debug.Assert(_context.
LiveDepth
> 0);
469
if (_context.
LiveDepth
> 1)
481
if (_context.
LiveDepth
> 1)
497
Debug.Assert(_context.
LiveDepth
> 1);
515
if (_context.
LiveDepth
== 1)
549
if (_context.
LiveDepth
== 0 && !_inDispose)
602
Debug.Assert(_context.
LiveDepth
> 0);
918
while (_context.
LiveDepth
> 0)
935
bool seenStartObject = _context.
LiveDepth
> 1 || _context.CurrentType is not null;
938
while (_context.
LiveDepth
> 0)
1186
if (ctx.
LiveDepth
> 1 && !(inst is XAML3.MarkupExtension))
1188
if (ctx.
LiveDepth
> 1)
1461
if (ctx.
LiveDepth
> 2 && ctx.ParentProperty == XamlLanguage.Key &&
1688
Debug.Assert(parentInstance is not null || (parentProperty is not null && parentProperty.IsDirective) || ctx.
LiveDepth
== 1);
1690
if (ctx.
LiveDepth
!= 1 || !_skipProvideValueOnRoot)
1732
Debug.Assert(ctx.
LiveDepth
> 1);
2095
bool isRoot = ctx.
LiveDepth
== 1;
2373
if (_context.
LiveDepth
> 0)