[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs0571-2.cs
bloba5d63729fc6553d0e25c315c0cc1234edbde3abb
1 // CS0571: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor
2 // Line: 8
3 using System;
5 public class EntryPoint {
6 public static void Main () {
7 Type type = typeof(string);
8 Console.WriteLine (type.get_Name());