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

cs3023.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 614a26dde39b6df5c91cd09ec782a2f1ec06915d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs3023.cs: 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;
	}
}