4 writes to XamlType
System.Xaml (4)
System\Xaml\Context\ObjectWriterContext.cs (1)
518
set { _stack.CurrentFrame.
XamlType
= value; }
System\Xaml\Context\XamlCommonFrame.cs (2)
30
XamlType
= source.XamlType;
41
XamlType
= null;
System\Xaml\Context\XamlParserContext.cs (1)
195
set { _stack.CurrentFrame.
XamlType
= value; }
23 references to XamlType
System.Xaml (23)
System\Xaml\Context\ObjectWriterContext.cs (18)
292
if (frame.Instance is not null && frame.
XamlType
is null)
301
return frame.
XamlType
;
342
if (frame.
XamlType
is not null && frame.
XamlType
.CanAssignTo(type))
360
if (frame.
XamlType
is not null && frame.
XamlType
.CanAssignTo(prop.DeclaringType))
371
&& lowerFrame.
XamlType
is not null && !lowerFrame.
XamlType
.IsUsableDuringInitialization)
412
if (ceilingTypes.Contains(frame.
XamlType
))
447
if (frame.
XamlType
is not null && frame.
XamlType
.CanAssignTo(type))
517
get { return _stack.CurrentFrame.
XamlType
; }
523
get { return _stack.PreviousFrame.
XamlType
; }
528
get { return _stack.PreviousPreviousFrame?.
XamlType
; }
800
if (frame.
XamlType
is not null && frame.
XamlType
.IsNameScope)
881
if (inst is null && rootFrame.
XamlType
.IsNameScope)
902
XamlType xamlType = rootFrame.
XamlType
;
System\Xaml\Context\ObjectWriterFrame.cs (2)
71
string type = (
XamlType
is null) ? string.Empty :
XamlType
.Name;
System\Xaml\Context\XamlCommonFrame.cs (1)
30
XamlType = source.
XamlType
;
System\Xaml\Context\XamlParserContext.cs (2)
194
get { return _stack.CurrentFrame.
XamlType
; }
306
get { return _stack.CurrentFrame.
XamlType
is not null && _stack.Depth == 1; }