projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use runtime flag for basic compiler (it still lives in old world)
[mono.git]
/
mcs
/
class
/
corlib
/
System.Reflection
/
MethodInfo.cs
diff --git
a/mcs/class/corlib/System.Reflection/MethodInfo.cs
b/mcs/class/corlib/System.Reflection/MethodInfo.cs
index 3a51d0046d9066ece67ab6672ccd56860fa172ee..4b76a5d89cc22647a0db11a6ae62cb5e94214cd8 100644
(file)
--- a/
mcs/class/corlib/System.Reflection/MethodInfo.cs
+++ b/
mcs/class/corlib/System.Reflection/MethodInfo.cs
@@
-58,17
+58,6
@@
namespace System.Reflection {
public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
- // FIXME: when this method is uncommented, corlib fails
- // to build
-/*
- [DebuggerStepThrough]
- [DebuggerHidden]
- public new object Invoke (object obj, object[] parameters)
- {
- return base.Invoke (obj, parameters);
- }
-*/
-
void _MethodInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
void _MethodInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
@@
-107,7
+96,7
@@
namespace System.Reflection {
return Type.EmptyTypes;
}
return Type.EmptyTypes;
}
-#if !NET_4_0
+#if !NET_4_0
&& !MOONLIGHT
public override bool IsGenericMethod {
get {
return false;
public override bool IsGenericMethod {
get {
return false;
@@
-136,7
+125,7
@@
namespace System.Reflection {
#if NET_4_0
public override bool Equals (object obj)
{
#if NET_4_0
public override bool Equals (object obj)
{
- return obj == this;
+ return obj ==
(object)
this;
}
public override int GetHashCode ()
}
public override int GetHashCode ()