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
2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs3002-2.cs
blob
10b706db3b2a584c7640c39de7f819fe6f60c6cb
1
// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
2
// Line: 14
3
// Compiler options: -warnaserror -warn:1
4
5
using
System
;
6
[
assembly
:
CLSCompliant
(
true
)]
7
8
public class
CLSClass
{
9
[
CLSCompliant
(
false
)]
10
public ulong
Valid
() {
11
return
1
;
12
}
13
14
protected internal ulong
Foo
() {
15
return
1
;
16
}
17
18
static void
Main
() {}
19
}