mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
C#: Remove toString() override from Expr class
This commit is contained in:
@@ -39,8 +39,6 @@ private import dotnet
|
||||
* (`QualifiableExpr`), or a literal (`Literal`).
|
||||
*/
|
||||
class Expr extends DotNet::Expr, ControlFlowElement, @expr {
|
||||
override string toString() { result = "Expression" }
|
||||
|
||||
override Location getALocation() { expr_location(this, result) }
|
||||
|
||||
/** Gets the type of this expression. */
|
||||
@@ -712,3 +710,7 @@ class RefExpr extends Expr, @ref_expr {
|
||||
class DiscardExpr extends Expr, @discard_expr {
|
||||
override string toString() { result = "_" }
|
||||
}
|
||||
|
||||
private class UnknownExpr extends Expr, @unknown_expr {
|
||||
override string toString() { result = "Expression" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user