10 references to ContentWrappers
System.Xaml (4)
System\Xaml\XamlObjectReader.cs (2)
744
if (xamlType.
ContentWrappers
is not null)
751
foreach (var contentWrapperType in xamlType.
ContentWrappers
)
System\Xaml\XamlType.cs (2)
728
IList<XamlType> contentWrappers =
ContentWrappers
?? ReadOnlyCollection<XamlType>.Empty;
839
IList<XamlType> baseWrappers = BaseType.
ContentWrappers
;
System.Xaml.Tests (6)
System\Xaml\XamlTypeTests.cs (6)
2218
Assert.Equal(type.IsCollection ? expected ?? Array.Empty<XamlType>() : expected, type.
ContentWrappers
);
2226
Assert.Throws<ArgumentNullException>("type", () => type.
ContentWrappers
);
2240
Assert.Throws<NullReferenceException>(() => type.
ContentWrappers
);
2254
Assert.Throws<NullReferenceException>(() => type.
ContentWrappers
);
2268
Assert.Throws<InvalidCastException>(() => type.
ContentWrappers
);
2293
Assert.Throws<XamlSchemaException>(() => type.
ContentWrappers
);