File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -404,6 +404,13 @@ module ExprNode {
404
404
override TRShiftOp getOp ( ) { any ( ) }
405
405
}
406
406
407
+ /** An unsigned right-shift operation. */
408
+ class UnsignedRightShiftExpr extends BinaryOperation {
409
+ override CS:: UnsignedRightShiftExpr e ;
410
+
411
+ override TURShiftOp getOp ( ) { any ( ) }
412
+ }
413
+
407
414
/** A conditional expression. */
408
415
class ConditionalExpr extends ExprNode {
409
416
override CS:: ConditionalExpr e ;
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ private module Impl {
213
213
not e .getExpr ( ) instanceof BitwiseXorExpr and
214
214
not e .getExpr ( ) instanceof LeftShiftExpr and
215
215
not e .getExpr ( ) instanceof RightShiftExpr and
216
+ not e .getExpr ( ) instanceof UnsignedRightShiftExpr and
216
217
not e .getExpr ( ) instanceof ConditionalExpr and
217
218
not e .getExpr ( ) instanceof RefExpr and
218
219
not e .getExpr ( ) instanceof LocalVariableDeclAndInitExpr and
You can’t perform that action at this time.
0 commit comments