projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mcs] C#7 type pattern matching
[mono.git]
/
mcs
/
tests
/
test-pattern-02.cs
diff --git
a/mcs/tests/test-pattern-02.cs
b/mcs/tests/test-pattern-02.cs
index 695775ec17939daa00e130e0fa5aeced6da913d1..2858457b2dfffaa352829ba7594b962d4f15fb5f 100644
(file)
--- a/
mcs/tests/test-pattern-02.cs
+++ b/
mcs/tests/test-pattern-02.cs
@@
-48,14
+48,14
@@
class ConstantPattern
object o4 = (byte?)255;
var ggg = o4 is 255;
- if (
!
ggg)
+ if (ggg)
return 8;
if (o4 is null)
return 9;
object o5 = (double)-255;
- if (
!(o5 is -byte.MaxValue)
)
+ if (
o5 is -byte.MaxValue
)
return 10;
object o6 = MyEnum.V_4;