diff options
Diffstat (limited to 'mcs/errors/cs8081.cs')
-rw-r--r-- | mcs/errors/cs8081.cs | 10 |
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 |