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