1 write to _xamlType
System.Xaml (1)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
32_xamlType = type ?? throw new ArgumentNullException(nameof(type));
30 references to _xamlType
System.Xaml (30)
System\Xaml\Schema\XamlTypeInvoker.cs (30)
50get { return _xamlType?.SetMarkupExtensionHandler; } 55get { return _xamlType?.SetTypeConverterHandler; } 68if (!_xamlType.IsCollection) 76itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 80itemType = _xamlType.ItemType; 86throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 102if (!_xamlType.IsDictionary) 110itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 114itemType = _xamlType.ItemType; 120throw new XamlSchemaException(SR.Format(SR.NoAddMethodFound, _xamlType, itemType)); 129if (!_xamlType.UnderlyingType.IsValueType && (arguments is null || arguments.Length == 0)) 138return Activator.CreateInstance(_xamlType.UnderlyingType, arguments); 144if (IsUnknown || _xamlType.ItemType is null) 150if (contentType == _xamlType.ItemType || 151(_xamlType.AllowedContentTypes.Count == 1 && contentType.CanAssignTo(_xamlType.ItemType))) 153return _xamlType.AddMethod; 157if (!_xamlType.IsCollection) 167addMethods.Add(_xamlType.ItemType, _xamlType.AddMethod); 168foreach (XamlType type in _xamlType.AllowedContentTypes) 171_xamlType.UnderlyingType, type.UnderlyingType); 208return _xamlType.GetEnumeratorMethod; 220if (!_xamlType.IsCollection && !_xamlType.IsDictionary) 235Type type = _xamlType.UnderlyingType.UnderlyingSystemType; 245get { return _xamlType is null || _xamlType.UnderlyingType is null; } 275object inst = FormatterServices.GetUninitializedObject(type._xamlType.UnderlyingType); 309Type underlyingType = type._xamlType.UnderlyingType.UnderlyingSystemType;