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