Skip to content

Commit e879ca7

Browse files
committed
C#: Convert System.Convert flow to CSV format.
1 parent 15b4b21 commit e879ca7

File tree

2 files changed

+328
-19
lines changed

2 files changed

+328
-19
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/LibraryTypeDataFlow.qll

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,25 +1330,6 @@ class IDictionaryFlow extends LibraryTypeDataFlow, RefType {
13301330
}
13311331
}
13321332

1333-
/** Data flow for `System.Convert`. */
1334-
class SystemConvertFlow extends LibraryTypeDataFlow, SystemConvertClass {
1335-
override predicate callableFlow(
1336-
CallableFlowSource source, CallableFlowSink sink, SourceDeclarationCallable c,
1337-
boolean preservesValue
1338-
) {
1339-
this.methodFlow(source, sink, c) and
1340-
preservesValue = false
1341-
}
1342-
1343-
private predicate methodFlow(
1344-
CallableFlowSource source, CallableFlowSink sink, SourceDeclarationMethod m
1345-
) {
1346-
m = this.getAMethod() and
1347-
source = TCallableFlowSourceArg(0) and
1348-
sink = TCallableFlowSinkReturn()
1349-
}
1350-
}
1351-
13521333
/** Data flow for `System.Web.HttpCookie`. */
13531334
class SystemWebHttpCookieFlow extends LibraryTypeDataFlow, SystemWebHttpCookie {
13541335
override predicate callableFlow(

0 commit comments

Comments
 (0)