2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0077.cs
bloba521f77912a549ceaec5a4c5e2b0e868fbc88c4c
1 // CS0077: The `as' operator cannot be used with a non-nullable value type `ErrorCS0077.Foo'
2 // Line: 10
4 using System;
6 class ErrorCS0077 {
7 struct Foo { }
8 public static void Main () {
9 Foo s1, s2;
10 s1 = s2 as ErrorCS0077.Foo;