Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0571-2.cs
1 // CS0571: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor
2 // Line: 8
3 using System;
4
5 public class EntryPoint {
6         public static void Main () {
7                 Type type = typeof(string);
8                 Console.WriteLine (type.get_Name());
9         }
10 }