8 references to SetDataObject
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
StringCopyPaste\WpfStringCopyPasteService.cs (1)
50Clipboard.SetDataObject(copy, copy: false, retryTimes: 5, retryDelay: 50);
System.Windows.Forms (1)
System\Windows\Forms\OLE\Clipboard.cs (1)
26SetDataObject(data, copy, retryTimes: 10, retryDelay: 100);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ClipboardTests.cs (6)
305Clipboard.SetDataObject(dataObject, copy, retryTimes, retryDelay); 319Clipboard.SetDataObject(data, copy, retryTimes, retryDelay); 330() => Clipboard.SetDataObject(null!, copy: true, retryTimes: 10, retryDelay: 0) 343Action action = () => Clipboard.SetDataObject(new object(), copy: true, retryTimes: -1, retryDelay: 0); 350Action action = () => Clipboard.SetDataObject(new object(), copy: true, retryTimes: 10, retryDelay: -1); 362() => Clipboard.SetDataObject(null!, copy: true, retryTimes: 10, retryDelay: 0),