Author: marek
Date: 2006-12-17 06:08:06 -0500 (Sun, 17 Dec 2006)
New Revision: 69595
Added:
trunk/mcs/tests/test-partial-15.cs
Log:
Test for #79934
Added: trunk/mcs/tests/test-partial-15.cs
===================================================================
--- trunk/mcs/tests/test-partial-15.cs 2006-12-17 11:06:43 UTC (rev 69594)
+++ trunk/mcs/tests/test-partial-15.cs 2006-12-17 11:08:06 UTC (rev 69595)
@@ -0,0 +1,34 @@
+namespace Foo {
+ public partial class X
+ {
+ public static void Main () {}
+ }
+}
+
+namespace Foo {
+ using System;
+ using System.Collections;
+
+ public partial class X
+ {
+ public static IEnumerable Attempts2()
+ {
+ AttributeTargets t = AttributeTargets.All;
+ yield break;
+ }
+
+ public static IEnumerable Attempts {
+ get {
+ AttributeTargets t = AttributeTargets.All;
+ yield break;
+ }
+ }
+
+ public IEnumerable this [int i] {
+ get {
+ AttributeTargets t = AttributeTargets.All;
+ yield break;
+ }
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/mcs/tests/test-partial-15.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches