Author: sudha
Date: 2005-03-09 01:06:18 -0500 (Wed, 09 Mar 2005)
New Revision: 41584
Modified:
trunk/mcs/mbas/Test/rerrors/Test/InheritanceN.vb
Log:
Fixed conflicting class names - (as pointed out by Sudharsan V)
Modified: trunk/mcs/mbas/Test/rerrors/Test/InheritanceN.vb
===================================================================
--- trunk/mcs/mbas/Test/rerrors/Test/InheritanceN.vb 2005-03-09 05:17:39 UTC
(rev 41583)
+++ trunk/mcs/mbas/Test/rerrors/Test/InheritanceN.vb 2005-03-09 06:06:18 UTC
(rev 41584)
@@ -6,17 +6,17 @@
Imports System
Imports Nunit.Framework
-Class A
+Class AQ
Public a as Integer
End Class
-Class P
- Inherits A
+Class PQ
+ Inherits AQ
Public i as Integer
End Class
-Class P1
- Inherits P
+Class PQ1
+ Inherits PQ
Public b as Byte
End Class
@@ -24,8 +24,8 @@
public Class InheritanceN
<Test, ExpectedException (GetType (System.InvalidCastException))> _
Sub Main()
- Dim a as A = new A()
- Dim a1 as P1 = new P1()
+ Dim a as AQ = new AQ()
+ Dim a1 as PQ1 = new PQ1()
a1 = a
End Sub
End Class
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches