You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -50,10 +50,8 @@ namespace System.Reflection {
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
#if MOBILE
|
||||
public abstract class Module : ISerializable, ICustomAttributeProvider {
|
||||
#elif NET_4_0
|
||||
public abstract class Module : ISerializable, ICustomAttributeProvider, _Module {
|
||||
#else
|
||||
public partial class Module : ISerializable, ICustomAttributeProvider, _Module {
|
||||
public abstract class Module : ISerializable, ICustomAttributeProvider, _Module {
|
||||
#endif
|
||||
public static readonly TypeFilter FilterTypeName = new TypeFilter (filter_by_type_name);
|
||||
public static readonly TypeFilter FilterTypeNameIgnoreCase = new TypeFilter (filter_by_type_name_ignore_case);
|
||||
@ -71,11 +69,7 @@ namespace System.Reflection {
|
||||
const BindingFlags defaultBindingFlags =
|
||||
BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance;
|
||||
|
||||
#if NET_4_0
|
||||
protected
|
||||
#else
|
||||
internal
|
||||
#endif
|
||||
Module () {
|
||||
}
|
||||
|
||||
@ -128,10 +122,7 @@ namespace System.Reflection {
|
||||
[SecurityPermission (SecurityAction.LinkDemand, SerializationFormatter = true)]
|
||||
public virtual void GetObjectData (SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
if (info == null)
|
||||
throw new ArgumentNullException ("info");
|
||||
|
||||
UnitySerializationHolder.GetModuleData (this, info, context);
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
[ComVisible (true)]
|
||||
@ -288,7 +279,6 @@ namespace System.Reflection {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if NET_4_0
|
||||
public override bool Equals (object o)
|
||||
{
|
||||
return o == (object) this;
|
||||
@ -317,9 +307,7 @@ namespace System.Reflection {
|
||||
return !left.Equals (right);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if NET_4_0
|
||||
|
||||
public virtual Assembly Assembly {
|
||||
get { throw CreateNIE (); }
|
||||
@ -454,12 +442,9 @@ namespace System.Reflection {
|
||||
{
|
||||
throw CreateNIE ();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if NET_4_5
|
||||
public virtual IEnumerable<CustomAttributeData> CustomAttributes {
|
||||
get { return GetCustomAttributesData (); }
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user