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:
authorMarek Safar <marek.safar@gmail.com>2012-07-09 19:25:55 +0400
committerMarek Safar <marek.safar@gmail.com>2012-07-09 19:57:24 +0400
commitf9531844d592743549631f78ee8364d72b83974d (patch)
treee48e300f9a0b3d7e20548a29d6034ebbefd3d8e5 /mcs/tests/test-async-22.cs
parentfeb567658dd2ef782ad00df0cf89ab6ec64ca3ae (diff)
Restore id-buffer when after probing async keyword. Fixes #6037
Diffstat (limited to 'mcs/tests/test-async-22.cs')
-rw-r--r--mcs/tests/test-async-22.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/test-async-22.cs b/mcs/tests/test-async-22.cs
index 393c76c497f..079fb813a04 100644
--- a/mcs/tests/test-async-22.cs
+++ b/mcs/tests/test-async-22.cs
@@ -38,6 +38,20 @@ class B
}
}
+class C
+{
+ static void Test (bool async)
+ {
+ var a = async ? Prop : 2;
+ }
+
+ static int Prop {
+ get {
+ return 3;
+ }
+ }
+}
+
class async
{
async (async arg)