Skip to content

Commit 996b0ef

Browse files
committed
C#: Address review comments
1 parent 5ce9b25 commit 996b0ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp/ql/src/semmle/code/csharp/controlflow/ControlFlowGraph.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ module ControlFlow {
518518

519519
private class WriteAccessNoNodeExpr extends WriteAccess, NoNodeExpr {
520520
WriteAccessNoNodeExpr() {
521+
// For example a write to a static field, `Foo.Bar = 0`.
521522
forall(Expr e | e = this.(QualifiableExpr).getQualifier() | e instanceof NoNodeExpr)
522523
}
523524
}

0 commit comments

Comments
 (0)