1 write to _xamlType
System.Xaml (1)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
40_xamlType = type ?? throw new ArgumentNullException(nameof(type));
33 references to _xamlType
System.Xaml (33)
System\Xaml\Schema\XamlTypeInvoker.cs (33)
57get { return _xamlType != null ? _xamlType.SetMarkupExtensionHandler : null; } 62get { return _xamlType != null ? _xamlType.SetTypeConverterHandler : null; } 76if (!_xamlType.IsCollection) 83itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 87itemType = _xamlType.ItemType; 92throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 108if (!_xamlType.IsDictionary) 115itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 119itemType = _xamlType.ItemType; 124throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 132if (!_xamlType.UnderlyingType.IsValueType && (arguments == null || arguments.Length == 0)) 140return Activator.CreateInstance(_xamlType.UnderlyingType, arguments); 146if (IsUnknown || _xamlType.ItemType == null) 152if (contentType == _xamlType.ItemType || 153(_xamlType.AllowedContentTypes.Count == 1 && contentType.CanAssignTo(_xamlType.ItemType))) 155return _xamlType.AddMethod; 159if (!_xamlType.IsCollection) 169addMethods.Add(_xamlType.ItemType, _xamlType.AddMethod); 170foreach (XamlType type in _xamlType.AllowedContentTypes) 173_xamlType.UnderlyingType, type.UnderlyingType); 209return _xamlType.GetEnumeratorMethod; 221if (!_xamlType.IsCollection && !_xamlType.IsDictionary) 236Type type = _xamlType.UnderlyingType.UnderlyingSystemType; 251Type type = _xamlType.UnderlyingType.UnderlyingSystemType; 260get { return _xamlType == null || _xamlType.UnderlyingType == null; } 290object inst = FormatterServices.GetUninitializedObject(type._xamlType.UnderlyingType); 321Type underlyingType = type._xamlType.UnderlyingType.UnderlyingSystemType;