mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Fix XML comment processing
This commit is contained in:
@@ -393,7 +393,7 @@ namespace Semmle.Extraction.CSharp
|
||||
}
|
||||
catch (Exception ex) // lgtm[cs/catch-of-all-exceptions]
|
||||
{
|
||||
extractor.Message(new Message("Unhandled exception processing syntax tree", tree.FilePath, null, ex.StackTrace));
|
||||
extractor.Message(new Message($"Unhandled exception processing syntax tree. {ex.Message}", tree.FilePath, null, ex.StackTrace));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,10 +117,6 @@ namespace Semmle.Extraction.CSharp.Populators
|
||||
currentLocation = nextLineLocation;
|
||||
}
|
||||
break;
|
||||
// Strangely, these are reported as SingleLineCommentTrivia.
|
||||
case SyntaxKind.DocumentationCommentExteriorTrivia:
|
||||
cx.ModelError($"Unhandled comment type {trivia.Kind()} for {trivia}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user