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