4 writes to XamlType
System.Xaml (4)
System\Xaml\Context\ObjectWriterContext.cs (1)
520
set { _stack.CurrentFrame.
XamlType
= value; }
System\Xaml\Context\XamlCommonFrame.cs (2)
31
XamlType
= source.XamlType;
42
XamlType
= null;
System\Xaml\Context\XamlParserContext.cs (1)
196
set { _stack.CurrentFrame.
XamlType
= value; }
23 references to XamlType
System.Xaml (23)
System\Xaml\Context\ObjectWriterContext.cs (18)
294
if (frame.Instance is not null && frame.
XamlType
is null)
303
return frame.
XamlType
;
344
if (frame.
XamlType
is not null && frame.
XamlType
.CanAssignTo(type))
362
if (frame.
XamlType
is not null && frame.
XamlType
.CanAssignTo(prop.DeclaringType))
373
&& lowerFrame.
XamlType
is not null && !lowerFrame.
XamlType
.IsUsableDuringInitialization)
414
if (ceilingTypes.Contains(frame.
XamlType
))
449
if (frame.
XamlType
is not null && frame.
XamlType
.CanAssignTo(type))
519
get { return _stack.CurrentFrame.
XamlType
; }
525
get { return _stack.PreviousFrame.
XamlType
; }
530
get { return _stack.PreviousPreviousFrame?.
XamlType
; }
802
if (frame.
XamlType
is not null && frame.
XamlType
.IsNameScope)
883
if (inst is null && rootFrame.
XamlType
.IsNameScope)
904
XamlType xamlType = rootFrame.
XamlType
;
System\Xaml\Context\ObjectWriterFrame.cs (2)
72
string type = (
XamlType
is null) ? string.Empty :
XamlType
.Name;
System\Xaml\Context\XamlCommonFrame.cs (1)
31
XamlType = source.
XamlType
;
System\Xaml\Context\XamlParserContext.cs (2)
195
get { return _stack.CurrentFrame.
XamlType
; }
307
get { return _stack.CurrentFrame.
XamlType
is not null && _stack.Depth == 1; }