예제 #1
0
 public override bool IsEnabled(CallStackCtxMenuContext context) =>
 FrameUtils.CanGoToDisasm(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
예제 #2
0
        public override bool IsEnabled(CallStackCtxMenuContext context)
        {
            var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context);

            return(vm != null && FrameUtils.CanGoToDisasm(vm.Frame));
        }