8 references to NotSupportedResolver
System.Windows.Forms.Tests (8)
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (8)
77
return ReadObjectFromStream<T>(
NotSupportedResolver
);
85
return ReadRestrictedObjectFromStream<T>(
NotSupportedResolver
);
473
ReadRestrictedObjectFromStream<Control>(
NotSupportedResolver
).Should().BeNull();
476
ReadRestrictedObjectFromStream<Control>(
NotSupportedResolver
).Should().BeNull();
481
RoundTripOfType<int?>(101,
NotSupportedResolver
).Should().Be(101);
494
Action read = () => ReadRestrictedObjectFromStream<int?[]>(
NotSupportedResolver
);
508
Action read = () => ReadObjectFromStream<int?[]>(
NotSupportedResolver
);
529
Action read = () => ReadObjectFromStream<uint[,]>(restrictDeserialization,
NotSupportedResolver
);