6 writes to CurrentProperty
System.Xaml (6)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (6)
617
_context.
CurrentProperty
= property;
815
_context.
CurrentProperty
= null;
1581
ctx.
CurrentProperty
= prop;
1598
ctx.
CurrentProperty
= savedProp;
1916
ctx.
CurrentProperty
= XamlLanguage.Key;
1922
ctx.
CurrentProperty
= null;
16 references to CurrentProperty
System.Xaml (16)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (16)
270
: _context.
CurrentProperty
; // there is a push frame below making this the parent property.
344
if (_context.CurrentType is not null && _context.
CurrentProperty
is null)
400
Debug.Assert(_context.
CurrentProperty
.DeferringLoader is not null);
423
if (_context.
CurrentProperty
is not null)
426
_context.
CurrentProperty
.ToString());
598
else if (_context.
CurrentProperty
is not null)
601
_context.
CurrentProperty
.ToString(),
627
if (!IsConstructionDirective(_context.
CurrentProperty
)
628
&& !IsDirectiveAllowedOnNullInstance(_context.
CurrentProperty
, _context.CurrentType))
709
property = _context.
CurrentProperty
;
831
Debug.Assert(_context.
CurrentProperty
.DeferringLoader is not null);
842
XamlMember currentProperty = _context.
CurrentProperty
;
922
if (_context.CurrentType is not null && _context.
CurrentProperty
is null)
965
if (_context.
CurrentProperty
is not null)
1580
XamlMember savedProp = ctx.
CurrentProperty
;
1915
Debug.Assert(ctx.
CurrentProperty
is null);