Files
mono/mcs/errors/bug8.cs
T
Miguel de Icaza c3ab5e0fc7 Flush
svn path=/trunk/mcs/; revision=1661
2001-12-20 21:29:11 +00:00

21 lines
247 B
C#
Executable File

using System;
//
// The problem here is that `(Type)' is being recognized as a Property
// but inside a Cast expression this is invalid.
//
class X {
int Type {
get {
return 1;
}
}
static void Main ()
{
Type t = (Type) null;
}
}