13 implementations of GetFormats
ComDisabled.Tests (2)
ClipboardComTests.cs (1)
111string[] IDataObject.GetFormats() => ["Foo"];
DataObjectComTests.cs (1)
81public string[] GetFormats() => throw new NotImplementedException();
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
245public virtual string[] GetFormats() => GetFormats(autoConvert: true);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
201public string[] GetFormats()
System.Windows.Forms.Tests (8)
System\Windows\Forms\ClipboardTests.cs (2)
630string[] IDataObject.GetFormats() => ["Foo"]; 1154public string[] GetFormats() => _formatToJson.Keys.ToArray();
System\Windows\Forms\DataObjectComTests.cs (1)
60public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
174public string[] GetFormats() => throw new NotImplementedException(); 190public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2766public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
112public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10247public string[] GetFormats() => throw new NotImplementedException();
System.Windows.Forms.TestUtilities (1)
Data\ManagedDataObject.cs (1)
20public string[] GetFormats() => [s_format];
12 references to GetFormats
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
StringCopyPaste\WpfStringCopyPasteService.cs (1)
40foreach (var format in dataObject.GetFormats())
System.Windows.Forms (2)
System\Windows\Forms\OLE\DataObjectAdapter.cs (1)
25public string[] GetFormats() => DataObject.GetFormats();
System\Windows\Forms\OLE\DragDropHelper.cs (1)
250foreach (string format in dataObject.GetFormats())
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
182string[] allFormats = e.Data!.GetFormats();
System.Windows.Forms.Tests (8)
System\Windows\Forms\ClipboardTests.cs (3)
1196string[] formats = dataObject.GetFormats(); 1222string[] formats = dataObject.GetFormats(); 1251string[] formats = dataObject.GetFormats();
System\Windows\Forms\DataObjectTests.cs (5)
2136.Setup(o => o.GetFormats()) 2198.Setup(o => o.GetFormats()) 2246.Setup(o => o.GetFormats()) 2325.Setup(o => o.GetFormats()) 2388.Setup(o => o.GetFormats())