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.cs
blob
b812e6198f8bb19410d3854836e3be104595a256
1
// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
2
// Line: 13
3
// Compiler options: -warnaserror -warn:1
4
5
using
System
;
6
[
assembly
:
CLSCompliant
(
true
)]
7
8
public class
CLSClass
{
9
private ulong
Valid
() {
10
return
1
;
11
}
12
13
protected ulong
Foo
() {
14
return
1
;
15
}
16
}