6 writes to CurrentProperty
System.Xaml (6)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (6)
618
_context.
CurrentProperty
= property;
816
_context.
CurrentProperty
= null;
1582
ctx.
CurrentProperty
= prop;
1599
ctx.
CurrentProperty
= savedProp;
1917
ctx.
CurrentProperty
= XamlLanguage.Key;
1923
ctx.
CurrentProperty
= null;
16 references to CurrentProperty
System.Xaml (16)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (16)
271
: _context.
CurrentProperty
; // there is a push frame below making this the parent property.
345
if (_context.CurrentType is not null && _context.
CurrentProperty
is null)
401
Debug.Assert(_context.
CurrentProperty
.DeferringLoader is not null);
424
if (_context.
CurrentProperty
is not null)
427
_context.
CurrentProperty
.ToString());
599
else if (_context.
CurrentProperty
is not null)
602
_context.
CurrentProperty
.ToString(),
628
if (!IsConstructionDirective(_context.
CurrentProperty
)
629
&& !IsDirectiveAllowedOnNullInstance(_context.
CurrentProperty
, _context.CurrentType))
710
property = _context.
CurrentProperty
;
832
Debug.Assert(_context.
CurrentProperty
.DeferringLoader is not null);
843
XamlMember currentProperty = _context.
CurrentProperty
;
923
if (_context.CurrentType is not null && _context.
CurrentProperty
is null)
966
if (_context.
CurrentProperty
is not null)
1581
XamlMember savedProp = ctx.
CurrentProperty
;
1916
Debug.Assert(ctx.
CurrentProperty
is null);