8 references to SetAudio
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
162public virtual void SetAudio(byte[] audioBytes) => SetAudio(new MemoryStream(audioBytes.OrThrowIfNull()));
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectTests.cs (7)
846.Setup(o => o.SetAudio(It.IsAny<MemoryStream>())) 849mockDataObject.Verify(o => o.SetAudio(It.IsAny<MemoryStream>()), Times.Once()); 884dataObject.SetAudio(audioStream); 901.Setup(o => o.SetAudio(audioStream)) 906mockDataObject.Object.SetAudio(audioStream); 919dataObject.SetAudio(audioStream); 927Action action = () => dataObject.SetAudio((Stream)null);