5 references to Depth
System.Xaml (5)
System\Xaml\Context\ObjectWriterContext.cs (1)
505get { return Depth - SavedDepth; }
System\Xaml\InfosetObjects\XamlObjectWriter.cs (4)
262XamlMember parentProperty = (_context.CurrentType is null && _context.Depth > 1) 267XamlType xamlType = (_context.CurrentType is null && _context.Depth > 1) 1627if ((ctx.BaseUri is not null) || (ctx.Depth > 2)) 2166if (ctx.Depth > 1)