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

test-701.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e45023a1efe7cfd0e93bcee6dcb38ae1f54bd920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Compiler options: -warnaserror -warn:4

using System;

[assembly: CLSCompliant (true)]

public class Foo
{
#pragma warning disable 3019
	[CLSCompliant (false)]
#pragma warning restore 3019
	internal ushort ToUint16 ()
	{
		return ushort.MaxValue;
	}

	public static void Main ()
	{
	}
}