Skip to content

Commit 09378b8

Browse files
authored
Merge pull request #20665 from aschackmull/csharp/guards-replace
C#: Replace old Guards with the new shared implementation.
2 parents 95e60ad + 900d0d2 commit 09378b8

34 files changed

+3001
-7526
lines changed

csharp/ql/lib/semmle/code/csharp/Caching.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module Stages {
1010
cached
1111
module ControlFlowStage {
1212
private import semmle.code.csharp.controlflow.internal.Splitting
13-
private import semmle.code.csharp.controlflow.Guards as Guards
1413

1514
cached
1615
predicate forceCachingInSameStage() { any() }
@@ -21,8 +20,6 @@ module Stages {
2120
or
2221
exists(ControlFlow::Node n)
2322
or
24-
Guards::Internal::isCustomNullCheck(_, _, _, _)
25-
or
2623
forceCachingInSameStageRev()
2724
}
2825
}

0 commit comments

Comments
 (0)