4 writes to XamlType
System.Xaml (4)
System\Xaml\Context\ObjectWriterContext.cs (1)
511set { _stack.CurrentFrame.XamlType = value; }
System\Xaml\Context\XamlCommonFrame.cs (2)
31XamlType = source.XamlType; 42XamlType = null;
System\Xaml\Context\XamlParserContext.cs (1)
192set { _stack.CurrentFrame.XamlType = value; }
23 references to XamlType
System.Xaml (23)
System\Xaml\Context\ObjectWriterContext.cs (18)
284if (frame.Instance is not null && frame.XamlType is null) 293return frame.XamlType; 333if (frame.XamlType is not null && frame.XamlType.CanAssignTo(type)) 351if (frame.XamlType is not null && frame.XamlType.CanAssignTo(prop.DeclaringType)) 362&& lowerFrame.XamlType is not null && !lowerFrame.XamlType.IsUsableDuringInitialization) 405if (ceilingTypes.Contains(frame.XamlType)) 440if (frame.XamlType is not null && frame.XamlType.CanAssignTo(type)) 510get { return _stack.CurrentFrame.XamlType; } 516get { return _stack.PreviousFrame.XamlType; } 521get { return (_stack.PreviousPreviousFrame is not null) ? _stack.PreviousPreviousFrame.XamlType : null; } 791if (frame.XamlType is not null && frame.XamlType.IsNameScope) 866if (inst is null && rootFrame.XamlType.IsNameScope) 888XamlType xamlType = rootFrame.XamlType;
System\Xaml\Context\ObjectWriterFrame.cs (2)
71string type = (XamlType is null) ? string.Empty : XamlType.Name;
System\Xaml\Context\XamlCommonFrame.cs (1)
31XamlType = source.XamlType;
System\Xaml\Context\XamlParserContext.cs (2)
191get { return _stack.CurrentFrame.XamlType; } 302get { return _stack.CurrentFrame.XamlType is not null && _stack.Depth == 1; }