Skip to content

Commit db00bcb

Browse files
committed
C#: Minor simplification.
1 parent 713c804 commit db00bcb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -653,10 +653,7 @@ module LocalFlow {
653653
(
654654
scope = def.getExpr() and
655655
isSuccessor = true and
656-
(
657-
not def instanceof AssignableDefinitions::PatternDefinition or
658-
def instanceof AssignableDefinitions::TopLevelPatternDefinition
659-
)
656+
not def instanceof AssignableDefinitions::PatternDefinition
660657
or
661658
scope = def.(AssignableDefinitions::TopLevelPatternDefinition).getMatch().(IsExpr) and
662659
isSuccessor = false

0 commit comments

Comments
 (0)