mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C#: The qualified name of the operator should use the function name instead of the displayed name.
This commit is contained in:
@@ -460,6 +460,11 @@ class Operator extends Callable, Member, Attributable, @operator {
|
||||
override string toString() { result = Callable.super.toString() }
|
||||
|
||||
override Parameter getRawParameter(int i) { result = this.getParameter(i) }
|
||||
|
||||
override predicate hasQualifiedName(string qualifier, string name) {
|
||||
super.hasQualifiedName(qualifier, _) and
|
||||
name = this.getFunctionName()
|
||||
}
|
||||
}
|
||||
|
||||
/** A clone method on a record. */
|
||||
|
||||
Reference in New Issue
Block a user