* Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
[mono.git] / mcs / errors / bug8.cs
1 using System;
2
3 //
4 // The problem here is that `(Type)' is being recognized as a Property
5 // but inside a Cast expression this is invalid.
6 //
7 class X {
8
9         int Type {
10                 get {
11                         return 1;
12                 }
13         }
14
15         static void Main ()
16         {
17                 Type t = (Type) null;
18         }
19
20 }