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>2004-08-23 00:07:53 +0400
committerMarek Safar <marek.safar@gmail.com>2004-08-23 00:07:53 +0400
commit6807edf7d9d75650624f2d6a2674ee01b2f0baa8 (patch)
tree1cfd5aed091afd168f812b442f0423e4d8a4c62d /mcs/errors/cs0571-2.cs
parent2d436d0ff08d62e33d325dd9a3ea623c2da1d049 (diff)
new error tests
svn path=/trunk/mcs/; revision=32664
Diffstat (limited to 'mcs/errors/cs0571-2.cs')
-rw-r--r--mcs/errors/cs0571-2.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0571-2.cs b/mcs/errors/cs0571-2.cs
new file mode 100644
index 00000000000..551489bee91
--- /dev/null
+++ b/mcs/errors/cs0571-2.cs
@@ -0,0 +1,9 @@
+// cs0571.cs: 'System.Reflection.MemberInfo.Name.get' : cannot explicitly call operator or accessor// Line: 9
+using System;
+
+public class EntryPoint {
+ public static void Main () {
+ Type type = typeof(string);
+ Console.WriteLine (type.get_Name());
+ }
+} \ No newline at end of file