Skip to content

Commit 8d77f4b

Browse files
committed
C#: Remove ImplicitUntrackedDefinition
1 parent 7db5a99 commit 8d77f4b

File tree

11 files changed

+124
-244
lines changed

11 files changed

+124
-244
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,7 @@ private Ssa::Definition getAnSsaQualifier(Expr e, ControlFlow::Node cfn) {
621621
}
622622

623623
private AssignableAccess getATrackedAccess(Ssa::Definition def, ControlFlow::Node cfn) {
624-
result = def.getAReadAtNode(cfn) and
625-
not def instanceof Ssa::ImplicitUntrackedDefinition
624+
result = def.getAReadAtNode(cfn)
626625
or
627626
result = def.(Ssa::ExplicitDefinition).getADefinition().getTargetAccess() and
628627
cfn = def.getControlFlowNode()

0 commit comments

Comments
 (0)