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

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

using System;
[assembly:CLSCompliant (true)]

[CLSCompliant (false)]
public abstract class A
{
}

public class C
{
	public static void Foo<T>() where T : A
	{
	}
}