Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs3024.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed25779095b9178b536dd836f6a458cc2e4f2d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS3024: Constraint type `I' is not CLS-compliant
// Line: 13
// Compiler options: -warn:1 -warnaserror

using System;
[assembly:CLSCompliant (true)]

[CLSCompliant (false)]
public interface I
{
}

public class C<T> where T : I
{
}