Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0420.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1db316032084e3dd3f0a2be23ab1079757ab9dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0420.cs: `X.j': A volatile fields cannot be passed using a ref or out parameter
// Line: 10
// Compiler options: -unsafe /warnaserror /warn:1

unsafe class X {
	static volatile int j;
	
	static void Main ()
	{
		fixed (int *p = &j){
			
		}
	}
}