mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
C#: Address review comments
This commit is contained in:
@@ -518,6 +518,7 @@ module ControlFlow {
|
||||
|
||||
private class WriteAccessNoNodeExpr extends WriteAccess, NoNodeExpr {
|
||||
WriteAccessNoNodeExpr() {
|
||||
// For example a write to a static field, `Foo.Bar = 0`.
|
||||
forall(Expr e | e = this.(QualifiableExpr).getQualifier() | e instanceof NoNodeExpr)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user