Skip to content

Commit a810ba4

Browse files
committed
C#: Minor code quality improvements.
1 parent 0a16cf6 commit a810ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/ql/lib/semmle/code/csharp/internal/Overlay.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ private class DiscardableEntity extends @locatable {
5252
}
5353

5454
/** Holds if this element exists in the base variant. */
55-
predicate existsInBase() { not isOverlay() and exists(this) }
55+
predicate existsInBase() { not isOverlay() }
5656

5757
/** Holds if this element exists in the overlay variant. */
58-
predicate existsInOverlay() { isOverlay() and exists(this) }
58+
predicate existsInOverlay() { isOverlay() }
5959

6060
/** Gets a textual representation of this discardable element. */
6161
string toString() { none() }

0 commit comments

Comments
 (0)