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 throw expression
[mono.git]
/
mcs
/
tests
/
gtest-iter-26.cs
diff --git
a/mcs/tests/gtest-iter-26.cs
b/mcs/tests/gtest-iter-26.cs
index c86b9e8937d4c2bb3e59534a56c5bb0c8cf45c87..92a3bfec90eec585e12909739895de3c5c2df464 100644
(file)
--- a/
mcs/tests/gtest-iter-26.cs
+++ b/
mcs/tests/gtest-iter-26.cs
@@
-10,12
+10,9
@@
namespace Test
{
var m = typeof (Program).GetMethod ("Test");
var attr = m.GetCustomAttribute<IteratorStateMachineAttribute> ();
- if (attr
=
= null)
+ if (attr
!
= null)
return 1;
- if (attr.StateMachineType == null)
- return 2;
-
return 0;
}