8 references to RoundTripObject_RestrictedFormat
System.Windows.Forms.Tests (8)
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (8)
239RoundTripObject_RestrictedFormat(value).Should().Be(value); 249RoundTripObject_RestrictedFormat(value).Should().BeEquivalentTo(value); 262RoundTripObject_RestrictedFormat(value).Should().BeEquivalentTo(new NotSupportedException("Error message", innerException: null)); 273RoundTripObject_RestrictedFormat(value).Should().BeEquivalentTo(value); 288RoundTripObject_RestrictedFormat(value).Should().BeEquivalentTo(value); 298RoundTripObject_RestrictedFormat(value).Should().BeEquivalentTo(value); 323var result = RoundTripObject_RestrictedFormat(value).Should().BeOfType<ImageListStreamer>().Which; 341RoundTripObject_RestrictedFormat(value).Should().BeOfType<Bitmap>().Which.Size.Should().Be(value.Size);