18 references to ItemType
System.Xaml (18)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (4)
1707ctx.CurrentType = ctx.ParentType.ItemType; 1778currentType = value is null ? collectionType.ItemType : GetXamlType(value.GetType()); 1809XamlType itemType = ctx.ParentType.ItemType; 2574XamlType itemType = pendingAdd.ItemType ?? instanceType.ItemType;
System\Xaml\Parser\XamlPullParser.cs (1)
988XamlTypeName typeName = new XamlTypeName(propertyType.ItemType);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
373Type itemType = dictionaryType.ItemType.UnderlyingType;
System\Xaml\Schema\XamlTypeInvoker.cs (6)
79itemType = _xamlType.ItemType; 111itemType = _xamlType.ItemType; 138if (IsUnknown || _xamlType.ItemType is null) 144if (contentType == _xamlType.ItemType || 145(_xamlType.AllowedContentTypes.Count == 1 && contentType.CanAssignTo(_xamlType.ItemType))) 161addMethods.Add(_xamlType.ItemType, _xamlType.AddMethod);
System\Xaml\XamlObjectReader.cs (1)
1802var elementType = type.ItemType;
System\Xaml\XamlType.cs (5)
490if (ItemType is null || UnderlyingType is null) 498if (UnderlyingType is not null && ItemType.UnderlyingType is not null) 501GetIsReadOnlyMethod(UnderlyingType, ItemType.UnderlyingType); 685result.Add(ItemType); 955return BaseType.ItemType;