mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Update expected test output.
This commit is contained in:
@@ -19,7 +19,7 @@ class ConstantMatching
|
||||
// Should not be considered a constant condition as
|
||||
// we don't know anything about D.
|
||||
var d = new D();
|
||||
if (d.Prop is C2) // $ Alert
|
||||
if (d.Prop is C2)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
| ConstantCondition.cs:15:13:15:26 | ... is ... | Condition always evaluates to 'false'. |
|
||||
| ConstantCondition.cs:15:24:15:26 | access to type Int32 | Pattern never matches. |
|
||||
| ConstantCondition.cs:22:13:22:24 | ... is ... | Condition always evaluates to 'false'. |
|
||||
| ConstantCondition.cs:22:23:22:24 | access to type C2 | Pattern never matches. |
|
||||
|
||||
Reference in New Issue
Block a user