diff options
Diffstat (limited to 'mcs/class/corlib/System.Reflection/MonoMethod.cs')
-rw-r--r-- | mcs/class/corlib/System.Reflection/MonoMethod.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/mcs/class/corlib/System.Reflection/MonoMethod.cs b/mcs/class/corlib/System.Reflection/MonoMethod.cs index f80b92d6b22..0328f15e7f9 100644 --- a/mcs/class/corlib/System.Reflection/MonoMethod.cs +++ b/mcs/class/corlib/System.Reflection/MonoMethod.cs @@ -56,7 +56,7 @@ namespace System.Reflection { * the .NET reflection class hierarchy is so broken. */ [Serializable()] - internal class MonoMethod : MethodInfo, ISerializable + internal class MonoMethod : MethodInfo, ISerializable
{ internal IntPtr mhandle; string name; @@ -246,12 +246,12 @@ namespace System.Reflection { return ReturnType.Name + " " + Name + generic + "(" + parms + ")"; } - - // ISerializable - public void GetObjectData(SerializationInfo info, StreamingContext context) - { - ReflectionSerializationHolder.Serialize ( info, Name, ReflectedType, ToString(), MemberTypes.Method); - } +
+ // ISerializable
+ public void GetObjectData(SerializationInfo info, StreamingContext context)
+ {
+ ReflectionSerializationHolder.Serialize ( info, Name, ReflectedType, ToString(), MemberTypes.Method);
+ }
#if NET_2_0 || BOOTSTRAP_NET_2_0 public override MethodInfo MakeGenericMethod (Type [] types) @@ -300,7 +300,7 @@ namespace System.Reflection { #endif } - internal class MonoCMethod : ConstructorInfo, ISerializable + internal class MonoCMethod : ConstructorInfo, ISerializable
{ internal IntPtr mhandle; string name; @@ -432,11 +432,11 @@ namespace System.Reflection { } return "Void "+Name+"("+parms+")"; } - - // ISerializable - public void GetObjectData(SerializationInfo info, StreamingContext context) - { - ReflectionSerializationHolder.Serialize ( info, Name, ReflectedType, ToString(), MemberTypes.Constructor); - } +
+ // ISerializable
+ public void GetObjectData(SerializationInfo info, StreamingContext context)
+ {
+ ReflectionSerializationHolder.Serialize ( info, Name, ReflectedType, ToString(), MemberTypes.Constructor);
+ }
} } |