Author: raja
Date: 2007-10-04 08:36:59 -0400 (Thu, 04 Oct 2007)
New Revision: 86873
Modified:
trunk/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs
trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog
Log:
* AssemblyTest.cs (bug328812): New test.
Modified: trunk/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs
2007-10-04 12:34:33 UTC (rev 86872)
+++ trunk/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs
2007-10-04 12:36:59 UTC (rev 86873)
@@ -1022,5 +1022,16 @@
private readonly string _assemblyFile;
private readonly string _assemblyName;
}
+
+ protected internal class Bug328812_NestedFamORAssem { };
+
+ [Test]
+ public void bug328812 ()
+ {
+ Assembly corlib_test = Assembly.GetExecutingAssembly ();
+ Assert.IsNull (corlib_test.GetType
("Bug328812_NestedFamORAssem"));
+ // Just a sanity check, in case the above passed for
some other reason
+ Assert.IsNotNull (corlib_test.GetType
("MonoTests.System.Reflection.AssemblyTest+Bug328812_NestedFamORAssem"));
+ }
}
}
Modified: trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog 2007-10-04
12:34:33 UTC (rev 86872)
+++ trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog 2007-10-04
12:36:59 UTC (rev 86873)
@@ -1,3 +1,7 @@
+2007-10-04 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * AssemblyTest.cs (bug328812): New test.
+
2007-09-25 Zoltan Varga <[EMAIL PROTECTED]>
* PropertyInfoTest.cs: Add test for calling ReflectedType on accessors.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches