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