public static void LogError(this IOutputWriter outputWriter, string error, Exception exception, MethodDefinition method) { error = string.Format("{0} - {1}", method.FullName, error); SequencePoint sequencePoint = GetSequencePoint(method.Body); if (sequencePoint == null) { outputWriter.LogError(error, exception); return; } outputWriter.LogError(error, exception, sequencePoint.Document.Url, sequencePoint.StartLine, sequencePoint.StartColumn); }