[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs3005-25.cs
1 // CS3005: Identifier `Foo.main()' differing only in case is not CLS-compliant
2 // Line: 9
3 // Compiler options: -warnaserror
4
5 using System;
6 [assembly: CLSCompliant(false)]
7
8 [CLSCompliant(true)]
9 public class Foo {
10         public static void Main () {}
11         public static void main () {}
12 }