Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2001-12-21 00:29:11 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-12-21 00:29:11 +0300
commitc3ab5e0fc79f764e562376e8e6cf0f5193f1ab82 (patch)
tree798aafed4adca127eaf53515f97624e2fe3b480b /mcs/errors/bug8.cs
parent428530724b3b8fc3a209abc4afd9a5b696d8734f (diff)
Flush
svn path=/trunk/mcs/; revision=1661
Diffstat (limited to 'mcs/errors/bug8.cs')
-rwxr-xr-xmcs/errors/bug8.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/bug8.cs b/mcs/errors/bug8.cs
new file mode 100755
index 00000000000..47846f7c4c9
--- /dev/null
+++ b/mcs/errors/bug8.cs
@@ -0,0 +1,20 @@
+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;
+ }
+
+}