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:
Diffstat (limited to 'mcs/errors/cs8081.cs')
-rw-r--r--mcs/errors/cs8081.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs8081.cs b/mcs/errors/cs8081.cs
new file mode 100644
index 00000000000..366b9326a83
--- /dev/null
+++ b/mcs/errors/cs8081.cs
@@ -0,0 +1,10 @@
+// CS8081: Expression does not have a name
+// Line: 8
+
+class C
+{
+ static void Main ()
+ {
+ string s = nameof (Main ());
+ }
+} \ No newline at end of file