Skip to content

Commit 3d971d2

Browse files
committed
C#: Support postupdate notes for suppress nullable warning expressions.
1 parent 58bf283 commit 3d971d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ module LocalFlow {
420420
e instanceof ConditionalExpr or
421421
e instanceof Cast or
422422
e instanceof NullCoalescingExpr or
423-
e instanceof SwitchExpr
423+
e instanceof SwitchExpr or
424+
e instanceof SuppressNullableWarningExpr
424425
)
425426
}
426427

0 commit comments

Comments
 (0)