Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0601.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 020787e74cfe2f03b51bbdc13f19f7cc1950dd04 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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);
	
}