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