diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-08-23 00:07:53 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-08-23 00:07:53 +0400 |
commit | 6807edf7d9d75650624f2d6a2674ee01b2f0baa8 (patch) | |
tree | 1cfd5aed091afd168f812b442f0423e4d8a4c62d /mcs/errors/cs0571-2.cs | |
parent | 2d436d0ff08d62e33d325dd9a3ea623c2da1d049 (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.cs | 9 |
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 |