2007-03-28 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / cs0626-4.cs
blobd18847ccdbc9731546e1e7106a58b269fb33dadb
1 // CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
2 // Line: 6
3 // Compiler options: -warnaserror -warn:1
5 class ExternClass {
6 [System.Obsolete]
7 public static extern void ExternMethod();