summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3023.cs
blob: 3e87c8cacd8117bb98e4b3f3a83d45e29f9f4f9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS3023: CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead
// Line: 8
// Compiler options: -warn:1 -warnaserror

using System;
[assembly: CLSCompliant (true)]

public class Class {
	[return:CLSCompliant(false)]
	public ulong Test ()
	{
	    return 4;
	}
}