17 references to SetBytes
System.Windows.Forms.Design (2)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
52
_byteViewer.
SetBytes
(bytes);
System\ComponentModel\Design\ByteViewer.cs (1)
672
SetBytes
(File.ReadAllBytes(path));
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\ByteViewerTests.cs (15)
471
control.
SetBytes
(bytes);
546
control.
SetBytes
(bytes);
611
control.
SetBytes
(Array.Empty<byte>());
621
control.
SetBytes
(Array.Empty<byte>());
686
control.
SetBytes
(bytes);
691
control.
SetBytes
(bytes);
703
control.
SetBytes
(bytes);
708
control.
SetBytes
(bytes);
717
Assert.Throws<ArgumentNullException>("bytes", () => control.
SetBytes
(null));
800
control.
SetBytes
(bytes);
830
control.
SetBytes
(bytes);
880
control.
SetBytes
(Array.Empty<byte>());
890
control.
SetBytes
(Array.Empty<byte>());
930
control.
SetBytes
(bytes);
975
control.
SetBytes
(bytes);