projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5662fa
)
New test
author
Marek Safar
<marek.safar@gmail.com>
Sun, 24 Feb 2013 11:42:48 +0000
(12:42 +0100)
committer
Marek Safar
<marek.safar@gmail.com>
Mon, 25 Feb 2013 13:11:02 +0000
(14:11 +0100)
mcs/errors/cs4003-2.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mcs/errors/cs4003-2.cs
b/mcs/errors/cs4003-2.cs
new file mode 100644
(file)
index 0000000..
20fd40f
--- /dev/null
+++ b/
mcs/errors/cs4003-2.cs
@@ -0,0
+1,14
@@
+// CS4003: `await' cannot be used as an identifier within an async method or lambda expression
+// Line: 8
+
+class Tester
+{
+ int await;
+
+ async void Test ()
+ {
+ var a = new Initializer () {
+ await = 2
+ };
+ }
+}