Skip to content

Commit 8b08ddf

Browse files
committed
C#: Use callables qualified name instead of name, when printing summary like information.
1 parent 4163078 commit 8b08ddf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,13 +2066,14 @@ module Csv {
20662066

20672067
/** Computes the first 6 columns for CSV rows of `c`. */
20682068
string asPartialModel(DataFlowCallable c) {
2069-
exists(string namespace, string type |
2069+
exists(string namespace, string type, string name |
20702070
c.getDeclaringType().hasQualifiedName(namespace, type) and
2071+
c.hasQualifiedName(_, name) and
20712072
result =
20722073
namespace + ";" //
20732074
+ type + ";" //
20742075
+ getCallableOverride(c) + ";" //
2075-
+ c.getName() + ";" //
2076+
+ name + ";" //
20762077
+ "(" + parameterQualifiedTypeNamesToString(c) + ")" //
20772078
+ /* ext + */ ";" //
20782079
)

0 commit comments

Comments
 (0)