public override bool IsEnabled(CallStackCtxMenuContext context) => FrameUtils.CanGoToDisasm(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
public override bool IsEnabled(CallStackCtxMenuContext context) { var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context); return(vm != null && FrameUtils.CanGoToDisasm(vm.Frame)); }