projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
[mono.git]
/
mcs
/
errors
/
cs0601.cs
1
// cs0601.cs: 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
}