11 implementations of GetFormats
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
59public string[] GetFormats() => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
114string[] IDataObject.GetFormats() => _winFormsDataObject.GetFormats();
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
502public string[] GetFormats() => GetFormats(autoConvert: true);
System\Windows\Forms\OLE\DataObject.cs (1)
111public virtual string[] GetFormats() => GetFormats(autoConvert: true);
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
202public 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 (5)
System\Windows\Forms\ClipboardTests.cs (1)
590string[] IDataObject.GetFormats() => ["Foo"];
System\Windows\Forms\DataObjectComTests.cs (1)
60public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2403public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
123public string[] GetFormats() => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10254public 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)
114string[] IDataObject.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)
1773.Setup(o => o.GetFormats()) 1835.Setup(o => o.GetFormats()) 1883.Setup(o => o.GetFormats()) 1962.Setup(o => o.GetFormats()) 2025.Setup(o => o.GetFormats())