2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs3023.cs
blob614a26dde39b6df5c91cd09ec782a2f1ec06915d
1 // cs3023.cs: CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead
2 // Line: 8
3 // Compiler options: -warn:1 -warnaserror
5 using System;
6 [assembly: CLSCompliant (true)]
8 public class Class {
9 [return:CLSCompliant(false)]
10 public ulong Test ()
12 return 4;