10 references to SetDataObject
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
StringCopyPaste\WpfStringCopyPasteService.cs (1)
50Clipboard.SetDataObject(copy, copy: false, retryTimes: 5, retryDelay: 50);
System.Windows.Forms (3)
System\Windows\Forms\OLE\Clipboard.cs (3)
24/// <inheritdoc cref="SetDataObject(object, bool, int, int)"/> 30/// <inheritdoc cref="SetDataObject(object, bool, int, int)"/> 32SetDataObject(data, copy, retryTimes: 10, retryDelay: 100);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ClipboardTests.cs (6)
314Clipboard.SetDataObject(dataObject, copy, retryTimes, retryDelay); 328Clipboard.SetDataObject(data, copy, retryTimes, retryDelay); 339() => Clipboard.SetDataObject(null!, copy: true, retryTimes: 10, retryDelay: 0) 352Action action = () => Clipboard.SetDataObject(new object(), copy: true, retryTimes: -1, retryDelay: 0); 359Action action = () => Clipboard.SetDataObject(new object(), copy: true, retryTimes: 10, retryDelay: -1); 371() => Clipboard.SetDataObject(null!, copy: true, retryTimes: 10, retryDelay: 0),