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

cs0077.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 88dae1d0f0479a1ff9088bb5a68dcae6944411d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0077.cs: As operator can only be used with reference types.
// Line: 10

using System;

class ErrorCS0077 {
	struct Foo { }
	public static void Main () {
		Foo s1, s2; 
		s1 = s2 as ErrorCS0077.Foo;
	}
}