Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 366b94a commit 187ece6Copy full SHA for 187ece6
1 file changed
csharp/ql/src/Telemetry/ExternalApi.qll
@@ -37,6 +37,7 @@ class ExternalApi extends DotNet::Callable {
37
/**
38
* Gets the unbound type, name and parameter types of this API.
39
*/
40
+ bindingset[this]
41
private string getSignature() {
42
result =
43
this.getDeclaringType().getUnboundDeclaration() + "." + this.getName() + "(" +
@@ -46,11 +47,13 @@ class ExternalApi extends DotNet::Callable {
46
47
48
* Gets the namespace of this API.
49
50
51
string getNamespace() { this.getDeclaringType().hasQualifiedName(result, _) }
52
53
54
* Gets the namespace and signature of this API.
55
56
57
string getApiName() { result = this.getNamespace() + "#" + this.getSignature() }
58
59
/** Gets a node that is an input to a call to this API. */
0 commit comments