mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
C#: Type-based pruning for data flow
This commit is contained in:
@@ -74,7 +74,7 @@ public class A
|
||||
}
|
||||
if (cc is C1)
|
||||
{
|
||||
Sink(((C1)cc).a); // no flow, stopped by cast to C2 (FALSE POSITIVE, no type pruning yet)
|
||||
Sink(((C1)cc).a); // no flow, stopped by cast to C2
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user