8 references to SetAudio
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
348public virtual void SetAudio(byte[] audioBytes) => SetAudio(new MemoryStream(audioBytes.OrThrowIfNull()));
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectTests.cs (7)
992.Setup(o => o.SetAudio(It.IsAny<MemoryStream>())) 995mockDataObject.Verify(o => o.SetAudio(It.IsAny<MemoryStream>()), Times.Once()); 1030dataObject.SetAudio(audioStream); 1047.Setup(o => o.SetAudio(audioStream)) 1052mockDataObject.Object.SetAudio(audioStream); 1065dataObject.SetAudio(audioStream); 1073Action action = () => dataObject.SetAudio((Stream)null);