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
Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git]
/
mcs
/
errors
/
cs3002-5.cs
blob
5ee098ad63feb624d768e46982f8664e5fc17d8a
1
// CS3002: Return type of `CLSClass.Test1()' is not CLS-compliant
2
// Line: 14
3
// Compiler options: -warnaserror -warn:1
4
5
using
System
;
6
[
assembly
:
CLSCompliant
(
true
)]
7
8
[
CLSCompliant
(
false
)]
9
public interface
I
{}
10
11
public class
C
{}
12
13
public class
CLSClass
{
14
public
I
Test1
()
{ return null; }
15
public
C
Test2
()
{ return null; }
16
}