Author: jbevain
Date: 2005-08-30 10:20:04 -0400 (Tue, 30 Aug 2005)
New Revision: 49127
Added:
trunk/mcs/tests/test-450.cs
Modified:
trunk/mcs/tests/ChangeLog
Log:
2005-08-30 Jb Evain <[EMAIL PROTECTED]>
* test-450.cs: new test for as expression in
custom attribute constructors.
Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog 2005-08-30 14:17:02 UTC (rev 49126)
+++ trunk/mcs/tests/ChangeLog 2005-08-30 14:20:04 UTC (rev 49127)
@@ -1,3 +1,8 @@
+2005-08-30 Jb Evain <[EMAIL PROTECTED]>
+
+ * test-450.cs: new test for as expression in
+ custom attribute constructors.
+
2005-08-30 Atsushi Enomoto <[EMAIL PROTECTED]>
* test-448.cs : test for #74927.
Added: trunk/mcs/tests/test-450.cs
===================================================================
--- trunk/mcs/tests/test-450.cs 2005-08-30 14:17:02 UTC (rev 49126)
+++ trunk/mcs/tests/test-450.cs 2005-08-30 14:20:04 UTC (rev 49127)
@@ -0,0 +1,21 @@
+//
+// This is a test for as expression
+// in custom attribute constructors
+//
+
+using System;
+
+class MyAttribute : Attribute {
+
+ public MyAttribute (string s)
+ {
+ }
+}
+
+[My (null as string)]
+class X {
+
+ static void Main ()
+ {
+ }
+}
Property changes on: trunk/mcs/tests/test-450.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches