summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3026.cs
blob: 2cefc85b3ae6fd480388ab14e61c848116bcbf7a (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS3026: CLS-compliant field `Class.V' cannot be volatile
// Line: 9
// Compiler options: -warn:1 -warnaserror

using System;
[assembly: CLSCompliant (true)]

public class Class {
	protected volatile int V;
	static void Main () {}
}