mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
C#: Address review comments.
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import csharp
|
||||
|
||||
query predicate inserts(InterpolatedStringExpr expr, Expr e) {
|
||||
expr.getAnInsert() = e // and inSpecificSource(expr)
|
||||
}
|
||||
query predicate inserts(InterpolatedStringExpr expr, Expr e) { expr.getAnInsert() = e }
|
||||
|
||||
query predicate texts(InterpolatedStringExpr expr, StringLiteral literal) {
|
||||
expr.getAText() = literal // and inSpecificSource(expr)
|
||||
expr.getAText() = literal
|
||||
}
|
||||
|
||||
query predicate interpolationInsertsWithAlign(InterpolatedStringExpr expr, Expr insert, Expr align) {
|
||||
|
||||
Reference in New Issue
Block a user