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

test-cls-01.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8679f46e39a5383644dad0008d8f1b2c3860161f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Compiler options: -warnaserror

using System;

[assembly: CLSCompliant (true)]

public class CLSClass
{
        public byte XX {
            get { return 5; }
        }

        public static void Main() {}
}


public class Big
{
	[CLSCompliant (false)]
	public static implicit operator Big (uint value)
	{
		return null;
	}
}

[CLSCompliant (false)]
public partial class C1
{
}

public partial class C1
{
	public void method (uint u)
	{
	}
}