10 instantiations of CustomValueSerializerContext
System.Xaml.Tests (10)
System\Windows\Markup\ValueSerializerTests.cs (10)
28Assert.False(serializer.CanConvertToString(value, new CustomValueSerializerContext())); 45Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 61Assert.False(serializer.CanConvertFromString(value, new CustomValueSerializerContext())); 69Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, new CustomValueSerializerContext())); 79Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, new CustomValueSerializerContext())); 96Assert.Empty(serializer.TypeReferences(value, new CustomValueSerializerContext())); 244var context = new CustomValueSerializerContext { SerializerResult = serializer }; 251var context = new CustomValueSerializerContext { SerializerResult = null }; 311var context = new CustomValueSerializerContext { SerializerResult = serializer }; 319var context = new CustomValueSerializerContext { SerializerResult = null };
4 references to CustomValueSerializerContext
System.Xaml.Tests (4)
System\Windows\Markup\ValueSerializerTests.cs (4)
244var context = new CustomValueSerializerContext { SerializerResult = serializer }; 251var context = new CustomValueSerializerContext { SerializerResult = null }; 311var context = new CustomValueSerializerContext { SerializerResult = serializer }; 319var context = new CustomValueSerializerContext { SerializerResult = null };