// CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation // Line: 6 // Compiler options: -warnaserror -warn:1 class ExternClass { [System.Obsolete] public static extern void ExternMethod(); }