mirror of
https://github.com/github/codeql.git
synced 2026-04-21 06:55:31 +02:00
C#: Rename getMethodName to getEndpointName
This commit is contained in:
@@ -18,6 +18,6 @@ where
|
||||
usage = aUsage(endpoint) and
|
||||
type = supportedType(endpoint) and
|
||||
classification = methodClassification(usage)
|
||||
select usage, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getMethodName(),
|
||||
select usage, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getEndpointName(),
|
||||
endpoint.getParameterTypes(), supported, endpoint.dllName(), endpoint.dllVersion(), type,
|
||||
classification
|
||||
|
||||
@@ -14,5 +14,5 @@ from PublicEndpointFromSource endpoint, boolean supported, string type
|
||||
where
|
||||
supported = isSupported(endpoint) and
|
||||
type = supportedType(endpoint)
|
||||
select endpoint, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getMethodName(),
|
||||
select endpoint, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getEndpointName(),
|
||||
endpoint.getParameterTypes(), supported, endpoint.getFile().getBaseName(), type
|
||||
|
||||
@@ -39,10 +39,10 @@ class Endpoint extends Callable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the qualified method name of this endpoint.
|
||||
* Gets the qualified name of this endpoint.
|
||||
*/
|
||||
bindingset[this]
|
||||
string getMethodName() {
|
||||
string getEndpointName() {
|
||||
result = qualifiedCallableName(this.getNamespace(), this.getTypeName(), this)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user