10 instantiations of CustomValueSerializerContext
System.Xaml.Tests (10)
System\Windows\Markup\ValueSerializerTests.cs (10)
27Assert.False(serializer.CanConvertToString(value, new CustomValueSerializerContext())); 44Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 60Assert.False(serializer.CanConvertFromString(value, new CustomValueSerializerContext())); 68Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, new CustomValueSerializerContext())); 78Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, new CustomValueSerializerContext())); 95Assert.Empty(serializer.TypeReferences(value, new CustomValueSerializerContext())); 243var context = new CustomValueSerializerContext { SerializerResult = serializer }; 250var context = new CustomValueSerializerContext { SerializerResult = null }; 310var context = new CustomValueSerializerContext { SerializerResult = serializer }; 318var context = new CustomValueSerializerContext { SerializerResult = null };
4 references to CustomValueSerializerContext
System.Xaml.Tests (4)
System\Windows\Markup\ValueSerializerTests.cs (4)
243var context = new CustomValueSerializerContext { SerializerResult = serializer }; 250var context = new CustomValueSerializerContext { SerializerResult = null }; 310var context = new CustomValueSerializerContext { SerializerResult = serializer }; 318var context = new CustomValueSerializerContext { SerializerResult = null };