fix 'new' usage
[mcs.git] / errors / cs0626-2.cs
blobcd22979f4b38bca46b174901430617d88b219a4b
1 // cs0626-2.cs: Method, operator, or accessor `ExternClass.ExternMethod.set' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
2 // Line: 6
3 // Compiler options: -warnaserror -warn:1
5 class ExternClass {
6 public static extern int ExternMethod { set; }