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: a521f77912a549ceaec5a4c5e2b0e868fbc88c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0077: The `as' operator cannot be used with a non-nullable value type `ErrorCS0077.Foo'
// Line: 10

using System;

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