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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs3024-2.cs
blob
dd0f96f3d565c699aff0a59340cd7d8fbfc919de
1
// CS3024: Constraint type `A' is not CLS-compliant
2
// Line: 15
3
// Compiler options: -warn:1 -warnaserror
4
5
using
System
;
6
[
assembly
:
CLSCompliant
(
true
)]
7
8
[
CLSCompliant
(
false
)]
9
public abstract class
A
10
{
11
}
12
13
public class
C
14
{
15
public static void
Foo
<
T
>()
where T
:
A
16
{
17
}
18
}
19