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