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