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