@@ -77,13 +77,11 @@ class ExternalApi extends DotNet::Callable {
7777
7878 /** Gets a node that is an output from a call to this API. */
7979 private DataFlow:: Node getAnOutput ( ) {
80- exists (
81- Call c , DataFlowDispatch:: NonDelegateDataFlowCall dc , DataFlowImplCommon:: ReturnKindExt ret
82- |
80+ exists ( Call c , DataFlowDispatch:: NonDelegateDataFlowCall dc |
8381 dc .getDispatchCall ( ) .getCall ( ) = c and
8482 c .getTarget ( ) .getUnboundDeclaration ( ) = this
8583 |
86- result = ret . getAnOutNode ( dc )
84+ result = DataFlowDispatch :: getAnOutNode ( dc , _ )
8785 )
8886 }
8987
@@ -119,18 +117,17 @@ class ExternalApi extends DotNet::Callable {
119117}
120118
121119/**
122- * Gets the nested name of the declaration .
120+ * Gets the nested name of the type `t` .
123121 *
124- * If the declaration is not a nested type, the result is the same as \`getName()\`.
122+ * If the type is not a nested type, the result is the same as \`getName()\`.
125123 * Otherwise the name of the nested type is prefixed with a \`+\` and appended to
126124 * the name of the enclosing type, which might be a nested type as well.
127125 */
128- private string nestedName ( Declaration declaration ) {
129- not exists ( declaration .getDeclaringType ( ) .getUnboundDeclaration ( ) ) and
130- result = declaration .getName ( )
126+ private string nestedName ( Type t ) {
127+ not exists ( t .getDeclaringType ( ) .getUnboundDeclaration ( ) ) and
128+ result = t .getName ( )
131129 or
132- nestedName ( declaration .getDeclaringType ( ) .getUnboundDeclaration ( ) ) + "+" + declaration .getName ( ) =
133- result
130+ nestedName ( t .getDeclaringType ( ) .getUnboundDeclaration ( ) ) + "+" + t .getName ( ) = result
134131}
135132
136133/**
0 commit comments