Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2005-09-23 06:55:23 +0400
committerMiguel de Icaza <miguel@gnome.org>2005-09-23 06:55:23 +0400
commitc250b10105434fbbc57d8af2d119ae61dd4c2851 (patch)
tree542fd61f52ec469e385529a275a83e02d690c319 /mcs/tests/test-iter-12.cs
parentf1818e4c9817432acdf4ce066399b77604fdba99 (diff)
Add new test
svn path=/trunk/mcs/; revision=50556
Diffstat (limited to 'mcs/tests/test-iter-12.cs')
-rw-r--r--mcs/tests/test-iter-12.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-iter-12.cs b/mcs/tests/test-iter-12.cs
new file mode 100644
index 00000000000..88e102ed089
--- /dev/null
+++ b/mcs/tests/test-iter-12.cs
@@ -0,0 +1,11 @@
+class X {
+ System.Collections.IEnumerable a ()
+ {
+ lock (this){
+ yield return "a";
+ yield return "b";
+ }
+ }
+
+ static void Main () {}
+}