**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0626-2.cs
blob585941dae4445b584be4fd0127d28cd83b96393f
1 // cs0626.cs: Method, operator, or accessor 'ExternClass.ExternMethod()' 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; }