repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
tests
/
test-701.cs
blob
5698f68ba72213356e6e91f428adfd2b97056893
1
// Compiler options: -warnaserror -warn:4
2
3
using
System
;
4
5
[
assembly
:
CLSCompliant
(
true
)]
6
7
public class
Foo
8
{
9
#pragma warning disable 3019
10
[
CLSCompliant
(
false
)]
11
#pragma warning restore 3019
12
internal ushort
ToUint16
()
13
{
14
return ushort
.
MaxValue
;
15
}
16
17
static void
Main
()
18
{
19
}
20
}