Merge pull request #4845 from lambdageek/dev-coop-delegates
[mono.git] / mcs / errors / cs0077.cs
1 // CS0077: The `as' operator cannot be used with a non-nullable value type `ErrorCS0077.Foo'
2 // Line: 10
3
4 using System;
5
6 class ErrorCS0077 {
7         struct Foo { }
8         public static void Main () {
9                 Foo s1, s2; 
10                 s1 = s2 as ErrorCS0077.Foo;
11         }
12 }
13