1 write to _xamlType
System.Xaml (1)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
32_xamlType = type ?? throw new ArgumentNullException(nameof(type));
32 references to _xamlType
System.Xaml (32)
System\Xaml\Schema\XamlTypeInvoker.cs (32)
49get { return _xamlType is not null ? _xamlType.SetMarkupExtensionHandler : null; } 54get { return _xamlType is not null ? _xamlType.SetTypeConverterHandler : null; } 68if (!_xamlType.IsCollection) 75itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 79itemType = _xamlType.ItemType; 84throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 100if (!_xamlType.IsDictionary) 107itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 111itemType = _xamlType.ItemType; 116throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 124if (!_xamlType.UnderlyingType.IsValueType && (arguments is null || arguments.Length == 0)) 132return Activator.CreateInstance(_xamlType.UnderlyingType, arguments); 138if (IsUnknown || _xamlType.ItemType is null) 144if (contentType == _xamlType.ItemType || 145(_xamlType.AllowedContentTypes.Count == 1 && contentType.CanAssignTo(_xamlType.ItemType))) 147return _xamlType.AddMethod; 151if (!_xamlType.IsCollection) 161addMethods.Add(_xamlType.ItemType, _xamlType.AddMethod); 162foreach (XamlType type in _xamlType.AllowedContentTypes) 165_xamlType.UnderlyingType, type.UnderlyingType); 201return _xamlType.GetEnumeratorMethod; 213if (!_xamlType.IsCollection && !_xamlType.IsDictionary) 227Type type = _xamlType.UnderlyingType.UnderlyingSystemType; 236get { return _xamlType is null || _xamlType.UnderlyingType is null; } 266object inst = FormatterServices.GetUninitializedObject(type._xamlType.UnderlyingType); 297Type underlyingType = type._xamlType.UnderlyingType.UnderlyingSystemType;