Files
mono/mcs/errors/cs0601.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

12 lines
294 B
C#

// cs0601.cs: The DllImport attribute must be specified on a method marked `static' and `extern'
// Line : 9
using System;
using System.Runtime.InteropServices;
class Test {
[DllImport("cygwin1.dll", EntryPoint="puts", CharSet=CharSet.Ansi)]
public extern int puts (string name);
}