C#: Move logical operation class from Operation.qll to LogicalOperation.qll.

This commit is contained in:
Michael Nebel
2026-05-29 15:11:34 +02:00
parent 3c407f77a9
commit fb9e4a8c40
2 changed files with 5 additions and 5 deletions

View File

@@ -56,6 +56,11 @@ class LogicalOrExpr extends BinaryLogicalOperation, @log_or_expr {
override string getAPrimaryQlClass() { result = "LogicalOrExpr" }
}
/**
* A null-coalescing operation, either `x ?? y` or `x ??= y`.
*/
class NullCoalescingOperation extends BinaryLogicalOperation, @null_coalescing_operation { }
/**
* A null-coalescing expression, for example `s ?? ""` on line 2 in
*

View File

@@ -3,8 +3,3 @@
*/
import Expr
/**
* A null-coalescing operation, either `x ?? y` or `x ??= y`.
*/
class NullCoalescingOperation extends BinaryLogicalOperation, @null_coalescing_operation { }