Skip to content

Commit 96feb2c

Browse files
committed
C#: Rename getMethodName to getEndpointName
1 parent e177f87 commit 96feb2c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

csharp/ql/src/utils/modeleditor/ApplicationModeEndpoints.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ where
1818
usage = aUsage(endpoint) and
1919
type = supportedType(endpoint) and
2020
classification = methodClassification(usage)
21-
select usage, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getMethodName(),
21+
select usage, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getEndpointName(),
2222
endpoint.getParameterTypes(), supported, endpoint.dllName(), endpoint.dllVersion(), type,
2323
classification

csharp/ql/src/utils/modeleditor/FrameworkModeEndpoints.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ from PublicEndpointFromSource endpoint, boolean supported, string type
1414
where
1515
supported = isSupported(endpoint) and
1616
type = supportedType(endpoint)
17-
select endpoint, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getMethodName(),
17+
select endpoint, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getEndpointName(),
1818
endpoint.getParameterTypes(), supported, endpoint.getFile().getBaseName(), type

csharp/ql/src/utils/modeleditor/ModelEditor.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ class Endpoint extends Callable {
3939
}
4040

4141
/**
42-
* Gets the qualified method name of this endpoint.
42+
* Gets the qualified name of this endpoint.
4343
*/
4444
bindingset[this]
45-
string getMethodName() {
45+
string getEndpointName() {
4646
result = qualifiedCallableName(this.getNamespace(), this.getTypeName(), this)
4747
}
4848

0 commit comments

Comments
 (0)