Skip to content

Commit ceb169b

Browse files
committed
Remove commented out code
1 parent 0868951 commit ceb169b

File tree

1 file changed

+0
-8
lines changed
  • csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources

1 file changed

+0
-8
lines changed

csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Local.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ abstract class CommandLineArgumentSource extends LocalFlowSource {
4444
override string getSourceType() { result = "command line argument" }
4545
}
4646

47-
// private class SystemEnvironmentCommandLineSource extends CommandLineArgumentSource {
48-
// SystemEnvironmentCommandLineSource() {
49-
// exists(PropertyAccess pa | this.asExpr() = pa |
50-
// pa.getTarget().hasName("CommandLine") and
51-
// pa.getTarget().getDeclaringType().hasFullyQualifiedName("System", "Environment")
52-
// )
53-
// }
54-
// }
5547
private class MainMethodArgumentSource extends CommandLineArgumentSource {
5648
MainMethodArgumentSource() { this.asParameter() = any(MainMethod mainMethod).getAParameter() }
5749
}

0 commit comments

Comments
 (0)