mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
C#: Do not require that comments and type locations are in source in test.
This commit is contained in:
@@ -32,8 +32,8 @@ query predicate eventAccessors(EventAccessor ea) { ea.fromSource() }
|
||||
|
||||
query predicate usingDirectives(UsingDirective ud) { ud.fromSource() }
|
||||
|
||||
query predicate commentLines(CommentLine cl) { cl.getLocation().getFile().fromSource() }
|
||||
query predicate commentLines(CommentLine cl) { any() }
|
||||
|
||||
query predicate commentBlocks(CommentBlock cb) { cb.getLocation().getFile().fromSource() }
|
||||
query predicate commentBlocks(CommentBlock cb) { any() }
|
||||
|
||||
query predicate typeMentions(TypeMention tm) { tm.getLocation().getFile().fromSource() }
|
||||
query predicate typeMentions(TypeMention tm) { any() }
|
||||
|
||||
Reference in New Issue
Block a user