1 write to _xamlType
System.Xaml (1)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
31_xamlType = type ?? throw new ArgumentNullException(nameof(type));
30 references to _xamlType
System.Xaml (30)
System\Xaml\Schema\XamlTypeInvoker.cs (30)
49get { return _xamlType?.SetMarkupExtensionHandler; } 54get { return _xamlType?.SetTypeConverterHandler; } 67if (!_xamlType.IsCollection) 75itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 79itemType = _xamlType.ItemType; 85throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 101if (!_xamlType.IsDictionary) 109itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 113itemType = _xamlType.ItemType; 119throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 128if (!_xamlType.UnderlyingType.IsValueType && (arguments is null || arguments.Length == 0)) 137return Activator.CreateInstance(_xamlType.UnderlyingType, arguments); 143if (IsUnknown || _xamlType.ItemType is null) 149if (contentType == _xamlType.ItemType || 150(_xamlType.AllowedContentTypes.Count == 1 && contentType.CanAssignTo(_xamlType.ItemType))) 152return _xamlType.AddMethod; 156if (!_xamlType.IsCollection) 166addMethods.Add(_xamlType.ItemType, _xamlType.AddMethod); 167foreach (XamlType type in _xamlType.AllowedContentTypes) 170_xamlType.UnderlyingType, type.UnderlyingType); 207return _xamlType.GetEnumeratorMethod; 219if (!_xamlType.IsCollection && !_xamlType.IsDictionary) 234Type type = _xamlType.UnderlyingType.UnderlyingSystemType; 244get { return _xamlType is null || _xamlType.UnderlyingType is null; } 274object inst = FormatterServices.GetUninitializedObject(type._xamlType.UnderlyingType); 308Type underlyingType = type._xamlType.UnderlyingType.UnderlyingSystemType;