10 references to RoundTripObject
System.Windows.Forms.Tests (10)
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (10)
233RoundTripObject(value).Should().Be(value); 244RoundTripObject(value).Should().BeEquivalentTo(value); 255RoundTripObject(value).Should().BeEquivalentTo(new NotSupportedException("Error message", innerException: null)); 268RoundTripObject(value).Should().BeEquivalentTo(value); 278RoundTripObject(value).Should().BeEquivalentTo(value); 283RoundTripObject(value).Should().BeEquivalentTo(value); 293RoundTripObject(value).Should().BeEquivalentTo(value); 308var result = RoundTripObject(value).Should().BeOfType<ImageListStreamer>().Which; 334RoundTripObject(value).Should().BeOfType<Bitmap>().Which.Size.Should().Be(value.Size); 395var result = RoundTripObject(value).Should().BeOfType<uint[,]>().Subject;