private void OnMethodClick(UILogic uiLogic, MethodViewModel mvm) { string sourcePath = uiLogic.GetSourceFilePathForMethod(mvm); _dte.ItemOperations.OpenFile(sourcePath); //TODO when the adornment layer is stable, enable this line moving. //var firstLineOfMethod = uiLogic.GetFirstLineOfMethod(mvm); //var commandName = "Edit.GoTo " + firstLineOfMethod; //_dte.ExecuteCommand(commandName); }