19 references to LiveDepth
System.Xaml (19)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (19)
365
if ((_context.
LiveDepth
== 1) && (_rootObjectInstance != null))
423
Debug.Assert(_context.
LiveDepth
> 0);
471
if (_context.
LiveDepth
> 1)
483
if (_context.
LiveDepth
> 1)
499
Debug.Assert(_context.
LiveDepth
> 1);
517
if (_context.
LiveDepth
== 1)
551
if (_context.
LiveDepth
== 0 && !_inDispose)
604
Debug.Assert(_context.
LiveDepth
> 0);
920
while (_context.
LiveDepth
> 0)
937
bool seenStartObject = _context.
LiveDepth
> 1 || _context.CurrentType != null;
940
while (_context.
LiveDepth
> 0)
1188
if (ctx.
LiveDepth
> 1 && !(inst is XAML3.MarkupExtension))
1190
if (ctx.
LiveDepth
> 1)
1463
if (ctx.
LiveDepth
> 2 && ctx.ParentProperty == XamlLanguage.Key &&
1690
Debug.Assert(parentInstance != null || parentProperty != null && parentProperty.IsDirective || ctx.
LiveDepth
== 1);
1692
if (ctx.
LiveDepth
!= 1 || !_skipProvideValueOnRoot)
1734
Debug.Assert(ctx.
LiveDepth
> 1);
2097
bool isRoot = ctx.
LiveDepth
== 1;
2375
if (_context.
LiveDepth
> 0)