C#: Update expected test output.

This commit is contained in:
Michael Nebel
2025-03-07 13:22:03 +01:00
parent b5ea34fcf3
commit 3903a90a11
2 changed files with 1 additions and 3 deletions

View File

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

View File

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