projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082
[mono.git]
/
mcs
/
class
/
corlib
/
System.Reflection
/
MonoModule.cs
diff --git
a/mcs/class/corlib/System.Reflection/MonoModule.cs
b/mcs/class/corlib/System.Reflection/MonoModule.cs
index 97e3481c9c7e535a3dfb66106cad4c8596f93d36..f5498565260c528bdb0e57fec3fec7ff6ed0fc26 100644
(file)
--- a/
mcs/class/corlib/System.Reflection/MonoModule.cs
+++ b/
mcs/class/corlib/System.Reflection/MonoModule.cs
@@
-38,7
+38,7
@@
using System.Security.Permissions;
namespace System.Reflection {
namespace System.Reflection {
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
[ComVisible (true)]
[ComDefaultInterfaceAttribute (typeof (_Module))]
[Serializable]
[ComVisible (true)]
[ComDefaultInterfaceAttribute (typeof (_Module))]
[Serializable]
@@
-49,7
+49,7
@@
namespace System.Reflection {
#endif
public
#endif
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
Assembly Assembly {
override
#endif
Assembly Assembly {
@@
-57,7
+57,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
// Note: we do not ask for PathDiscovery because no path is returned here.
override
#endif
// Note: we do not ask for PathDiscovery because no path is returned here.
@@
-67,7
+67,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
string ScopeName {
override
#endif
string ScopeName {
@@
-75,7
+75,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
int MDStreamVersion {
override
#endif
int MDStreamVersion {
@@
-87,7
+87,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
Guid ModuleVersionId {
override
#endif
Guid ModuleVersionId {
@@
-96,7
+96,7
@@
namespace System.Reflection {
}
}
}
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-113,7
+113,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
bool IsResource()
override
#endif
bool IsResource()
@@
-121,7
+121,7
@@
namespace System.Reflection {
return is_resource;
}
return is_resource;
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-136,7
+136,7
@@
namespace System.Reflection {
return filtered.ToArray ();
}
return filtered.ToArray ();
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-146,7
+146,7
@@
namespace System.Reflection {
return MonoCustomAttrs.GetCustomAttributes (this, inherit);
}
return MonoCustomAttrs.GetCustomAttributes (this, inherit);
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-156,7
+156,7
@@
namespace System.Reflection {
return MonoCustomAttrs.GetCustomAttributes (this, attributeType, inherit);
}
return MonoCustomAttrs.GetCustomAttributes (this, attributeType, inherit);
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-170,7
+170,7
@@
namespace System.Reflection {
return (globalType != null) ? globalType.GetField (name, bindingAttr) : null;
}
return (globalType != null) ? globalType.GetField (name, bindingAttr) : null;
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-184,7
+184,7
@@
namespace System.Reflection {
return (globalType != null) ? globalType.GetFields (bindingFlags) : new FieldInfo [0];
}
return (globalType != null) ? globalType.GetFields (bindingFlags) : new FieldInfo [0];
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-193,7
+193,7
@@
namespace System.Reflection {
get { return get_MetadataToken (this); }
}
protected
get { return get_MetadataToken (this); }
}
protected
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#else
virtual
override
#else
virtual
@@
-212,7
+212,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
MethodInfo[] GetMethods (BindingFlags bindingFlags) {
override
#endif
MethodInfo[] GetMethods (BindingFlags bindingFlags) {
@@
-223,7
+223,7
@@
namespace System.Reflection {
return (globalType != null) ? globalType.GetMethods (bindingFlags) : new MethodInfo [0];
}
return (globalType != null) ? globalType.GetMethods (bindingFlags) : new MethodInfo [0];
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-232,7
+232,7
@@
namespace System.Reflection {
ModuleHandle.GetPEKind (out peKind, out machine);
}
ModuleHandle.GetPEKind (out peKind, out machine);
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-246,7
+246,7
@@
namespace System.Reflection {
return assembly.InternalGetType (this, className, throwOnError, ignoreCase);
}
return assembly.InternalGetType (this, className, throwOnError, ignoreCase);
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-257,7
+257,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
FieldInfo ResolveField (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
override
#endif
FieldInfo ResolveField (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
@@
-271,7
+271,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
MemberInfo ResolveMember (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
override
#endif
MemberInfo ResolveMember (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
@@
-286,7
+286,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
MethodBase ResolveMethod (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
override
#endif
MethodBase ResolveMethod (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
@@
-300,7
+300,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
string ResolveString (int metadataToken) {
override
#endif
string ResolveString (int metadataToken) {
@@
-314,7
+314,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
Type ResolveType (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
override
#endif
Type ResolveType (int metadataToken, Type [] genericTypeArguments, Type [] genericMethodArguments) {
@@
-328,7
+328,7
@@
namespace System.Reflection {
}
public
}
public
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
override
#endif
byte[] ResolveSignature (int metadataToken) {
override
#endif
byte[] ResolveSignature (int metadataToken) {
@@
-358,7
+358,7
@@
namespace System.Reflection {
}
#endif
}
#endif
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override
#else
public virtual
public override
#else
public virtual
@@
-368,7
+368,7
@@
namespace System.Reflection {
return InternalGetTypes ();
}
return InternalGetTypes ();
}
-#if NET_4_0
|| MOONLIGHT || MOBILE
+#if NET_4_0
public override IList<CustomAttributeData> GetCustomAttributesData () {
return CustomAttributeData.GetCustomAttributes (this);
}
public override IList<CustomAttributeData> GetCustomAttributesData () {
return CustomAttributeData.GetCustomAttributes (this);
}