[ClassInterface(ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
#if MOBILE
- public partial class Assembly : ICustomAttributeProvider, _Assembly {
+ public partial class Assembly : ICustomAttributeProvider {
#elif NET_4_0
public abstract class Assembly : ICustomAttributeProvider, _Assembly, IEvidenceFactory, ISerializable {
#else
return LoadFrom (fullName);
}
+#if !MOBILE
Type _Assembly.GetType ()
{
// Required or object::GetType becomes virtual final
return base.GetType ();
}
-
+#endif
+
[MethodImplAttribute (MethodImplOptions.InternalCall)]
private extern static Assembly LoadFrom (String assemblyFile, bool refonly);
[Serializable]
[ClassInterfaceAttribute (ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+ public sealed class AssemblyName : ICloneable, ISerializable, IDeserializationCallback {
+#else
public sealed class AssemblyName : ICloneable, ISerializable, IDeserializationCallback, _AssemblyName {
-
+#endif
#pragma warning disable 169
#region Synch with object-internals.h
string name;
return aname;
}
+#if !MOBILE
void _AssemblyName.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
+
}
}
[ComDefaultInterfaceAttribute (typeof (_ConstructorInfo))]
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
+#if MOBILE
+ public abstract class ConstructorInfo : MethodBase {
+#else
public abstract class ConstructorInfo : MethodBase, _ConstructorInfo {
-
+#endif
[ComVisible (true)]
public static readonly string ConstructorName = ".ctor";
[ComVisible (true)]
public abstract object Invoke (BindingFlags invokeAttr, Binder binder, object[] parameters,
CultureInfo culture);
+#if !MOBILE
+
void _ConstructorInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
return this.Invoke (parameters);
}
+#endif
#if NET_4_0
public override bool Equals (object obj)
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+ public abstract class EventInfo : MemberInfo {
+#else
public abstract class EventInfo : MemberInfo, _EventInfo {
+#endif
AddEventAdapter cached_add_event;
public abstract EventAttributes Attributes {get;}
}
#endif
+#if !MOBILE
void _EventInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
delegate void AddEventAdapter (object _this, Delegate dele);
[ComDefaultInterfaceAttribute (typeof (_FieldInfo))]
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
+#if MOBILE
+ public abstract class FieldInfo : MemberInfo {
+#else
public abstract class FieldInfo : MemberInfo, _FieldInfo {
-
+#endif
public abstract FieldAttributes Attributes {get;}
public abstract RuntimeFieldHandle FieldHandle {get;}
}
}
#endif
+
+#if !MOBILE
void _FieldInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
[PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)]
+#if MOBILE
+ public abstract class MemberInfo : ICustomAttributeProvider {
+#else
public abstract class MemberInfo : ICustomAttributeProvider, _MemberInfo {
+#endif
protected MemberInfo ()
{
}
#endif
+#if !MOBILE
void _MemberInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}
[ComDefaultInterfaceAttribute (typeof (_MethodBase))]
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
+#if MOBILE
+ public abstract class MethodBase: MemberInfo {
+#else
public abstract class MethodBase: MemberInfo, _MethodBase {
-
+#endif
[MethodImplAttribute (MethodImplOptions.InternalCall)]
public extern static MethodBase GetCurrentMethod ();
}
#endif
+#if !MOBILE
void _MethodBase.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}
[ComDefaultInterfaceAttribute (typeof (_MethodInfo))]
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
+#if MOBILE
+ public abstract class MethodInfo: MethodBase {
+#else
public abstract class MethodInfo: MethodBase, _MethodInfo {
-
+#endif
public abstract MethodInfo GetBaseDefinition();
internal virtual MethodInfo GetBaseMethod ()
public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
+#if !MOBILE
void _MethodInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
[ComVisible (true)]
public virtual MethodInfo GetGenericMethodDefinition ()
[Serializable]
[ClassInterfaceAttribute (ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
-#if NET_4_0
+#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 {
[MethodImplAttribute (MethodImplOptions.InternalCall)]
internal static extern void GetPEKind (IntPtr module, out PortableExecutableKinds peKind, out ImageFileMachine machine);
+#if !MOBILE
void _Module.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
#if NET_4_0
public override bool Equals (object o)
[Serializable]
[ClassInterfaceAttribute (ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+ public class ParameterInfo : ICustomAttributeProvider {
+#else
public class ParameterInfo : ICustomAttributeProvider, _ParameterInfo {
+#endif
protected Type ClassImpl;
protected object DefaultValueImpl;
}
#endif
+#if !MOBILE
void _ParameterInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
+
}
}
[ComDefaultInterfaceAttribute (typeof (_PropertyInfo))]
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
+#if MOBILE
+ public abstract class PropertyInfo : MemberInfo {
+#else
public abstract class PropertyInfo : MemberInfo, _PropertyInfo {
-
+#endif
public abstract PropertyAttributes Attributes { get; }
public abstract bool CanRead { get; }
public abstract bool CanWrite { get; }
}
#endif
+#if !MOBILE
void _PropertyInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}
[ComVisible (true)]
[ComDefaultInterface (typeof (_Thread))]
[StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+ public sealed class Thread : CriticalFinalizerObject {
+#else
public sealed class Thread : CriticalFinalizerObject, _Thread {
+#endif
#pragma warning disable 414
#region Sync with metadata/object-internals.h
private InternalThread internal_thread;
ExecutionContext.SecurityContext.CompressedStack = stack;
}
+#if !MOBILE
void _Thread.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}
namespace System {
[ComVisible (true)]
-#if !NET_2_1
+#if !MOBILE
[ComDefaultInterface (typeof (_AppDomain))]
#endif
[ClassInterface(ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
-#if NET_2_1
- public sealed class AppDomain : MarshalByRefObject, _AppDomain {
+#if MOBILE
+ public sealed class AppDomain : MarshalByRefObject {
#else
public sealed class AppDomain : MarshalByRefObject, _AppDomain, IEvidenceFactory {
#endif
return GetAssemblies (true);
}
-#if !NET_2_1
+#if !MOBILE
void _AppDomain.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
[ComVisible (true)]
[ComDefaultInterface (typeof (_Attribute))]
[ClassInterfaceAttribute (ClassInterfaceType.None)]
+#if MOBILE
+ public abstract class Attribute {
+#else
public abstract class Attribute : _Attribute {
+#endif
protected Attribute ()
{
}
return ValueType.DefaultEquals (this, obj);
}
+#if !MOBILE
void _Attribute.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}
[ComDefaultInterface (typeof (_Exception))]
[ClassInterface (ClassInterfaceType.None)]
[StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+ public class Exception : ISerializable
+#else
public class Exception : ISerializable, _Exception
+#endif
{
#pragma warning disable 169, 649
#region Sync with object-internals.h
[ComVisible (true)]
[ComDefaultInterface (typeof (_Type))]
[StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+ public abstract class Type : MemberInfo, IReflect {
+#else
public abstract class Type : MemberInfo, IReflect, _Type {
-
+#endif
+
internal RuntimeTypeHandle _impl;
public static readonly char Delimiter = '.';
}
}
+#if !MOBILE
void _Type.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+#endif
}
}