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