summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3002-11.cs
blob: e1a0d558aa17b1b0936ebc8ce41260f50f5d6047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 10
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public class CLSClass
{
	protected ulong? Foo()
	{
		return 5;
	}
}