3 instantiations of ContextMenu
System.Windows.Forms.Tests (2)
System\Windows\Forms\UnsupportedTypesTests.cs (2)
17
new(() => new
ContextMenu
()),
18
new(() => new
ContextMenu
(menuItems: null!)),
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
33
_contextMenu =
new
();
4 references to ContextMenu
System.Windows.Forms (3)
src\Common\src\Obsoletions.cs (1)
34
internal const string ContextMenuMessage = $"`{nameof(
ContextMenu
)}` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `{nameof(ContextMenuStrip)}` instead.";
System\Windows\Forms\Control.cs (1)
12954
public virtual
ContextMenu
ContextMenu
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.cs (1)
73
public
ContextMenu
GetContextMenu() => throw null;
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
16
private
ContextMenu
_contextMenu;