Author: raja
Date: 2005-04-08 04:41:26 -0400 (Fri, 08 Apr 2005)
New Revision: 42677
Modified:
trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog
trunk/mcs/class/corlib/Test/System.Reflection/FieldInfoTest.cs
trunk/mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs
Log:
* FieldInfoTest.cs (RefOnlyFieldClass): Rename from RefOnlyClass.
* MethodInfoTest.cs (RefOnlyMethodClass): Rename from RefOnlyClass.
Modified: trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog 2005-04-08
08:33:51 UTC (rev 42676)
+++ trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog 2005-04-08
08:41:26 UTC (rev 42677)
@@ -1,3 +1,8 @@
+2005-04-08 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * FieldInfoTest.cs (RefOnlyFieldClass): Rename from RefOnlyClass.
+ * MethodInfoTest.cs (RefOnlyMethodClass): Rename from RefOnlyClass.
+
2005-04-08 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* AssemblyTest.cs: Added tests for ReflectionOnly support.
Modified: trunk/mcs/class/corlib/Test/System.Reflection/FieldInfoTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/FieldInfoTest.cs
2005-04-08 08:33:51 UTC (rev 42676)
+++ trunk/mcs/class/corlib/Test/System.Reflection/FieldInfoTest.cs
2005-04-08 08:41:26 UTC (rev 42677)
@@ -101,7 +101,7 @@
public void GetValueOnRefOnlyAssembly ()
{
Assembly assembly = Assembly.ReflectionOnlyLoad (typeof
(FieldInfoTest).Assembly.FullName);
- Type t = assembly.GetType (typeof (RefOnlyClass).FullName);
+ Type t = assembly.GetType (typeof (RefOnlyFieldClass).FullName);
FieldInfo f = t.GetField ("RefOnlyField", BindingFlags.Static |
BindingFlags.NonPublic);
f.GetValue (null);
@@ -112,7 +112,7 @@
public void SetValueOnRefOnlyAssembly ()
{
Assembly assembly = Assembly.ReflectionOnlyLoad (typeof
(FieldInfoTest).Assembly.FullName);
- Type t = assembly.GetType (typeof (RefOnlyClass).FullName);
+ Type t = assembly.GetType (typeof (RefOnlyFieldClass).FullName);
FieldInfo f = t.GetField ("RefOnlyField", BindingFlags.Static |
BindingFlags.NonPublic);
f.SetValue (null, 8);
@@ -122,7 +122,7 @@
}
#if NET_2_0
// Helper class
-class RefOnlyClass
+class RefOnlyFieldClass
{
// Helper property
static int RefOnlyField;
Modified: trunk/mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs
2005-04-08 08:33:51 UTC (rev 42676)
+++ trunk/mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs
2005-04-08 08:41:26 UTC (rev 42677)
@@ -159,7 +159,7 @@
public void InvokeOnRefOnlyAssembly ()
{
Assembly a = Assembly.ReflectionOnlyLoad (typeof
(MethodInfoTest).Assembly.FullName);
- Type t = a.GetType (typeof (RefOnlyClass).FullName);
+ Type t = a.GetType (typeof
(RefOnlyMethodClass).FullName);
MethodInfo m = t.GetMethod ("RefOnlyMethod",
BindingFlags.Static | BindingFlags.NonPublic);
m.Invoke (null, new object [0]);
@@ -170,7 +170,7 @@
#if NET_2_0
// Helper class
- class RefOnlyClass
+ class RefOnlyMethodClass
{
// Helper static method
static void RefOnlyMethod ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches