9 references to GetSerializerFor
PresentationFramework (1)
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1461return ValueSerializer.GetSerializerFor(descriptor);
System.Xaml (2)
System\Windows\Markup\ValueSerializer.cs (1)
229return GetSerializerFor(descriptor);
System\Xaml\XamlObjectReader.cs (1)
2838return ValueSerializer.GetSerializerFor(propertyDescriptor);
System.Xaml.Tests (6)
System\Windows\Markup\ValueSerializerTests.cs (6)
258Assert.IsType<DateTimeValueSerializer>(ValueSerializer.GetSerializerFor(descriptor)); 266Assert.IsType<CustomValueSerializer>(ValueSerializer.GetSerializerFor(descriptor)); 274Assert.NotNull(ValueSerializer.GetSerializerFor(descriptor)); 286Assert.Null(ValueSerializer.GetSerializerFor(descriptor)); 293Assert.Throws<ArgumentNullException>("descriptor", () => ValueSerializer.GetSerializerFor((PropertyDescriptor)null!)); 301Assert.Throws<InvalidCastException>(() => ValueSerializer.GetSerializerFor(descriptor));