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