From 6696490ce3f813c423526443590ded7bd6b121ea Mon Sep 17 00:00:00 2001 From: Ed Harvey Date: Tue, 7 Jun 2016 10:34:13 +1000 Subject: [PATCH] unordered context menu items default to end of menu --- ILSpy/ContextMenuEntry.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ILSpy/ContextMenuEntry.cs b/ILSpy/ContextMenuEntry.cs index 3d34322d8..c2a43701d 100644 --- a/ILSpy/ContextMenuEntry.cs +++ b/ILSpy/ContextMenuEntry.cs @@ -110,6 +110,8 @@ namespace ICSharpCode.ILSpy public ExportContextMenuEntryAttribute() : base(typeof(IContextMenuEntry)) { + // entries default to end of menu unless given specific order position + Order = double.MaxValue; } public string Icon { get; set; }