[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0601.cs
1 // CS0601: The DllImport attribute must be specified on a method marked `static' and `extern'
2 // Line : 9
3
4 using System;
5 using System.Runtime.InteropServices;
6       
7 class Test {
8         [DllImport("cygwin1.dll", EntryPoint="puts", CharSet=CharSet.Ansi)]
9         public extern int puts (string name);
10         
11 }