Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-701.cs
1 // Compiler options: -warnaserror -warn:4
2
3 using System;
4
5 [assembly: CLSCompliant (true)]
6
7 public class Foo
8 {
9 #pragma warning disable 3019
10         [CLSCompliant (false)]
11 #pragma warning restore 3019
12         internal ushort ToUint16 ()
13         {
14                 return ushort.MaxValue;
15         }
16
17         public static void Main ()
18         {
19         }
20 }