2010-03-02 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0601.cs
blob676587eff6f783c6c262af07034b22e6c4a7ffe7
1 // cs0601.cs: The DllImport attribute must be specified on a method marked `static' and `extern'
2 // Line : 9
4 using System;
5 using System.Runtime.InteropServices;
7 class Test {
8 [DllImport("cygwin1.dll", EntryPoint="puts", CharSet=CharSet.Ansi)]
9 public extern int puts (string name);