C#: Type-based pruning for data flow

This commit is contained in:
Tom Hvitved
2019-11-25 12:04:47 +01:00
committed by Tom Hvitved
parent 54088248a1
commit abcb6b8aab
11 changed files with 749 additions and 1063 deletions

View File

@@ -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
}
}