repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs3002-1.cs
blob
cd830907f7c3a568fe82a67638f8e20ad55b82b0
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
[
CLSCompliant
(
false
)]
9
public interface
I1
{
10
}
11
12
public class
CLSClass
{
13
protected internal
I1
Foo
() {
14
return null
;
15
}
16
17
static void
Main
() {}
18
}