Merge pull request #3565 from vargaz/no-free-imt-thunks
[mono.git] / mcs / errors / cs0023.cs
1 // CS0023: The `~' operator cannot be applied to operand of type `Foo'
2 // Line : 10
3
4 public class Foo {
5
6         public static void Main ()
7         {
8                 Foo k = new Foo ();
9                 
10                 int i = ~ k;
11
12         }
13 }