Skip to content

Commit 2e0d38f

Browse files
committed
C#: Address review comments.
1 parent d6fb7d3 commit 2e0d38f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ private predicate readStepPattern(Node node1, Content c, Node node2) {
22302230
// item = variable in node1 = (..., variable, ...) in a case/is (var ..., var ...)
22312231
exists(AssignableDefinitions::PatternDefinition lvd |
22322232
node2.(AssignableDefinitionNode).getDefinition() = lvd and
2233-
item = lvd.getDeclaration()
2233+
item.(BindingPatternExpr).getVariableDeclExpr() = lvd.getDeclaration()
22342234
)
22352235
)
22362236
or

0 commit comments

Comments
 (0)