Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2016-09-19 14:20:41 +0300
committerMarek Safar <marek.safar@gmail.com>2016-09-19 14:23:16 +0300
commitb13b4c3e51320006f08efc926971d037d3b6beb8 (patch)
tree847594c21c26ae2f784c9a68c9a4cf0d163837f7 /mcs/class/Mono.CSharp
parent293efaf0ac05a94a0df664dd71a438ca43d47af4 (diff)
[bcl] Add more reflection types to monotouch
Diffstat (limited to 'mcs/class/Mono.CSharp')
-rw-r--r--mcs/class/Mono.CSharp/mobile_static_Mono.CSharp.dll.sources9
-rw-r--r--mcs/class/Mono.CSharp/monotouch.cs304
2 files changed, 0 insertions, 313 deletions
diff --git a/mcs/class/Mono.CSharp/mobile_static_Mono.CSharp.dll.sources b/mcs/class/Mono.CSharp/mobile_static_Mono.CSharp.dll.sources
index bd7397407ae..4c30fc6e148 100644
--- a/mcs/class/Mono.CSharp/mobile_static_Mono.CSharp.dll.sources
+++ b/mcs/class/Mono.CSharp/mobile_static_Mono.CSharp.dll.sources
@@ -1,13 +1,4 @@
#include Mono.CSharp.dll.sources
-../corlib/System.Reflection.Emit/AssemblyBuilderAccess.cs
-../corlib/System.Reflection.Emit/FlowControl.cs
-../corlib/System.Reflection.Emit/OpCode.cs
-../corlib/System.Reflection.Emit/OpCodeNames.cs
-../corlib/System.Reflection.Emit/OpCodes.cs
-../corlib/System.Reflection.Emit/OpCodeType.cs
-../corlib/System.Reflection.Emit/OperandType.cs
../corlib/System.Reflection.Emit/PEFileKinds.cs
-../corlib/System.Reflection.Emit/Label.cs
../corlib/System.Reflection.Emit/MethodToken.cs
-../corlib/System.Reflection.Emit/StackBehaviour.cs
monotouch.cs
diff --git a/mcs/class/Mono.CSharp/monotouch.cs b/mcs/class/Mono.CSharp/monotouch.cs
index a8260819907..06feb3cc396 100644
--- a/mcs/class/Mono.CSharp/monotouch.cs
+++ b/mcs/class/Mono.CSharp/monotouch.cs
@@ -28,66 +28,6 @@
namespace System.Reflection.Emit
{
- public class ILGenerator
- {
- public void BeginCatchBlock (Type exceptionType)
- {
- throw new NotSupportedException ();
- }
-
- public Label BeginExceptionBlock ()
- {
- throw new NotSupportedException ();
- }
-
- public void BeginExceptFilterBlock ()
- {
- throw new NotSupportedException ();
- }
-
- public void BeginFinallyBlock ()
- {
- throw new NotSupportedException ();
- }
-
- public LocalBuilder DeclareLocal (params object[] args)
- {
- throw new NotSupportedException ();
- }
-
- public Label DefineLabel ()
- {
- throw new NotSupportedException ();
- }
-
- public void Emit (OpCode opcode)
- {
- throw new NotSupportedException ();
- }
-
- public void Emit (OpCode opcode, object args)
- {
- throw new NotSupportedException ();
- }
-
- public void EmitCall (OpCode opcode, params object[] args)
- {
- throw new NotSupportedException ();
- }
-
- public void EndExceptionBlock ()
- {
- throw new NotSupportedException ();
- }
-
- public void MarkLabel (Label loc)
- {
- throw new NotSupportedException ();
- }
-
- public int ILOffset { get; set; }
- }
-
public class TypeBuilder : Type
{
#region implemented abstract members of MemberInfo
@@ -528,230 +468,6 @@ namespace System.Reflection.Emit
}
}
- public class LocalBuilder : LocalVariableInfo
- {
- }
-
- public class GenericTypeParameterBuilder : Type
- {
- #region implemented abstract members of MemberInfo
-
- public override bool IsDefined (Type attributeType, bool inherit)
- {
- throw new NotSupportedException ();
- }
-
- public override object[] GetCustomAttributes (bool inherit)
- {
- throw new NotSupportedException ();
- }
-
- public override object[] GetCustomAttributes (Type attributeType, bool inherit)
- {
- throw new NotSupportedException ();
- }
-
- public override string Name {
- get {
- throw new NotSupportedException ();
- }
- }
-
- #endregion
-
- #region implemented abstract members of Type
-
- public override Type GetInterface (string name, bool ignoreCase)
- {
- throw new NotSupportedException ();
- }
-
- public override Type[] GetInterfaces ()
- {
- throw new NotSupportedException ();
- }
-
- public override Type GetElementType ()
- {
- throw new NotSupportedException ();
- }
-
- public override EventInfo GetEvent (string name, BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override EventInfo[] GetEvents (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override FieldInfo GetField (string name, BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override FieldInfo[] GetFields (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override MemberInfo[] GetMembers (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- protected override MethodInfo GetMethodImpl (string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
- {
- throw new NotSupportedException ();
- }
-
- public override MethodInfo[] GetMethods (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override Type GetNestedType (string name, BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override Type[] GetNestedTypes (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override PropertyInfo[] GetProperties (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- protected override PropertyInfo GetPropertyImpl (string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
- {
- throw new NotSupportedException ();
- }
-
- protected override ConstructorInfo GetConstructorImpl (BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
- {
- throw new NotSupportedException ();
- }
-
- protected override TypeAttributes GetAttributeFlagsImpl ()
- {
- throw new NotSupportedException ();
- }
-
- protected override bool HasElementTypeImpl ()
- {
- throw new NotSupportedException ();
- }
-
- protected override bool IsArrayImpl ()
- {
- throw new NotSupportedException ();
- }
-
- protected override bool IsByRefImpl ()
- {
- throw new NotSupportedException ();
- }
-
- protected override bool IsCOMObjectImpl ()
- {
- throw new NotSupportedException ();
- }
-
- protected override bool IsPointerImpl ()
- {
- throw new NotSupportedException ();
- }
-
- protected override bool IsPrimitiveImpl ()
- {
- throw new NotSupportedException ();
- }
-
- public override ConstructorInfo[] GetConstructors (BindingFlags bindingAttr)
- {
- throw new NotSupportedException ();
- }
-
- public override object InvokeMember (string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters)
- {
- throw new NotSupportedException ();
- }
-
- public override Assembly Assembly {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override string AssemblyQualifiedName {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override Type BaseType {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override string FullName {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override Guid GUID {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override Module Module {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override string Namespace {
- get {
- throw new NotSupportedException ();
- }
- }
-
- public override Type UnderlyingSystemType {
- get {
- throw new NotSupportedException ();
- }
- }
-
- #endregion
-
- public void SetCustomAttribute (params object[] args)
- {
- throw new NotSupportedException ();
- }
-
- public void SetGenericParameterAttributes (GenericParameterAttributes genericParameterAttributes)
- {
- throw new NotSupportedException ();
- }
-
- public void SetInterfaceConstraints (params Type[] interfaceConstraints)
- {
- throw new NotSupportedException ();
- }
-
- public void SetBaseTypeConstraint (Type baseTypeConstraint)
- {
- throw new NotSupportedException ();
- }
- }
-
public class ConstructorBuilder : MethodBase
{
#region implemented abstract members of MemberInfo
@@ -1087,19 +803,6 @@ namespace System.Reflection.Emit
}
}
- public class ParameterBuilder : ParameterInfo
- {
- public void SetConstant (object arg)
- {
- throw new NotSupportedException ();
- }
-
- public void SetCustomAttribute (params object[] args)
- {
- throw new NotSupportedException ();
- }
- }
-
public class EventBuilder
{
public void SetAddOnMethod (MethodBuilder mdBuilder)
@@ -1118,11 +821,4 @@ namespace System.Reflection.Emit
}
}
- public class CustomAttributeBuilder
- {
- public CustomAttributeBuilder (params object[] args)
- {
- throw new NotSupportedException ();
- }
- }
} \ No newline at end of file