mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Always use the unbound type declaration location for type location.
This commit is contained in:
@@ -30,7 +30,7 @@ class Type extends Member, TypeContainer, @type {
|
||||
/** Holds if this type is implicitly convertible to `that` type. */
|
||||
predicate isImplicitlyConvertibleTo(Type that) { implicitConversion(this, that) }
|
||||
|
||||
override Location getALocation() { type_location(this, result) }
|
||||
override Location getALocation() { type_location(this.getUnboundDeclaration(), result) }
|
||||
|
||||
override Type getChild(int n) { none() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user