Exemplo n.º 1
0
            public override void Execute(StringsAnalyzerCtxMenuContext context)
            {
                ToolWindowVm.StringAnalyzerData stringAnalyzerData = new ToolWindowVm.StringAnalyzerData();

                GoTo(moduleIdProvider, documentTabService, stringAnalyzerData, false);
            }
Exemplo n.º 2
0
            // This is supposed to take us to the whatever string we are inspecting into the respective assembly.
            internal static void GoTo(IModuleIdProvider moduleIdProvider, IDocumentTabService documentTabService, ToolWindowVm.StringAnalyzerData items, bool newTab)
            {
                if (items == null)
                {
                    return;
                }
                var ilbp = items as ToolWindowVm.StringAnalyzerData;

                if (ilbp == null)
                {
                    return;
                }
                ContextUtils.GoToIL(moduleIdProvider, documentTabService, ilbp.ModuleID, uint.Parse(ilbp.MdToken), uint.Parse(ilbp.IlOffset), newTab);
            }
Exemplo n.º 3
0
            //public BreakpointVM[] SelectedItems { get; }

            public StringsAnalyzerCtxMenuContext(ToolWindowVm.StringAnalyzerData vm)
            {
                VM = vm;
                //SelectedItems = selItems;
            }