[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs3026.cs
1 // CS3026: CLS-compliant field `Class.V' cannot be volatile
2 // Line: 9
3 // Compiler options: -warn:1 -warnaserror
4
5 using System;
6 [assembly: CLSCompliant (true)]
7
8 public class Class {
9         protected volatile int V;
10         static void Main () {}
11 }