void CopyILBytesExecuted(object sender, ExecutedRoutedEventArgs e) => CopyILBytesCodeCommand.Execute(documentTabService.ActiveTab.TryGetDocumentViewer(), methodAnnotations);
void CopyILBytesCanExecute(object sender, CanExecuteRoutedEventArgs e) => e.CanExecute = CopyILBytesCodeCommand.CanExecute(documentTabService.ActiveTab.TryGetDocumentViewer());
void CopyILBytesCanExecute(object sender, CanExecuteRoutedEventArgs e) { e.CanExecute = CopyILBytesCodeCommand.CanExecute(fileTabManager.ActiveTab.TryGetTextEditorUIContext()); }
void CopyILBytesExecuted(object sender, ExecutedRoutedEventArgs e) { CopyILBytesCodeCommand.Execute(fileTabManager.ActiveTab.TryGetTextEditorUIContext(), methodAnnotations); }
void CopyILBytesCanExecute(object sender, CanExecuteRoutedEventArgs e) => e.CanExecute = CopyILBytesCodeCommand.CanExecute(fileTabManager.ActiveTab.TryGetDocumentViewer());