Skip to content

Commit ea45bd1

Browse files
committed
C#: Replace Guards with the new implementation.
1 parent 935c632 commit ea45bd1

File tree

9 files changed

+888
-1442
lines changed

9 files changed

+888
-1442
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)