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)
672SetBytes(File.ReadAllBytes(path));
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\ByteViewerTests.cs (15)
471control.SetBytes(bytes); 546control.SetBytes(bytes); 611control.SetBytes(Array.Empty<byte>()); 621control.SetBytes(Array.Empty<byte>()); 686control.SetBytes(bytes); 691control.SetBytes(bytes); 703control.SetBytes(bytes); 708control.SetBytes(bytes); 717Assert.Throws<ArgumentNullException>("bytes", () => control.SetBytes(null)); 800control.SetBytes(bytes); 830control.SetBytes(bytes); 880control.SetBytes(Array.Empty<byte>()); 890control.SetBytes(Array.Empty<byte>()); 930control.SetBytes(bytes); 975control.SetBytes(bytes);