14 implementations of GetFormats
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
81public string[] GetFormats() => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
93public string[] GetFormats() => _winFormsDataObject.GetFormats();
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
621public string[] GetFormats() => GetFormats(autoConvert: true);
System\Windows\Forms\OLE\DataObject.cs (1)
253public virtual string[] GetFormats() => GetFormats(autoConvert: true);
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
197public 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)
637string[] IDataObject.GetFormats() => ["Foo"]; 1143public 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)
2685public 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();
10 references to GetFormats
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
StringCopyPaste\WpfStringCopyPasteService.cs (1)
40foreach (var format in dataObject.GetFormats())
System.Windows.Forms (3)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
93public string[] GetFormats() => _winFormsDataObject.GetFormats();
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (1)
21public FormatEnumerator(IDataObject parent) : this(parent, parent.GetFormats())
System\Windows\Forms\OLE\DragDropHelper.cs (1)
249foreach (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 (5)
System\Windows\Forms\DataObjectTests.cs (5)
2055.Setup(o => o.GetFormats()) 2117.Setup(o => o.GetFormats()) 2165.Setup(o => o.GetFormats()) 2244.Setup(o => o.GetFormats()) 2307.Setup(o => o.GetFormats())