[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit Method
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit MethodBuilder.cs,1.1,1.2 ConstructorBuilder.cs,1.1,1.2 FieldBuilder.cs,1.1,1.2 CustomAttributeBuilder.cs,1.1,1.2 |
Date: |
Fri, 28 Feb 2003 09:52:09 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit
In directory subversions:/tmp/cvs-serv31253/runtime/System/Reflection/Emit
Modified Files:
MethodBuilder.cs ConstructorBuilder.cs FieldBuilder.cs
CustomAttributeBuilder.cs
Log Message:
more stubs for Reflection.Emit and fix typo in MethodImplAttributes
Index: MethodBuilder.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/MethodBuilder.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodBuilder.cs 4 May 2002 05:16:06 -0000 1.1
--- MethodBuilder.cs 28 Feb 2003 14:52:04 -0000 1.2
***************
*** 31,38 ****
[TODO]
! public sealed class MethodBuilder
{
// TODO
}; // class MethodBuilder
--- 31,208 ----
[TODO]
! public sealed class MethodBuilder : MethodInfo
{
// TODO
+ [TODO]
+ public void CreateMethodBody(byte[] il, int count)
+ {
+ throw new NotImplementedException("CreateMethodBody");
+ }
+
+ [TODO]
+ public ParameterBuilder DefineParameter(int position,
+
ParameterAttributes attributes,
+
String strParamName)
+ {
+ throw new NotImplementedException("DefineParameter");
+ }
+
+ [TODO]
+ public override MethodInfo GetBaseDefinition()
+ {
+ throw new NotImplementedException("GetBaseDefinition");
+ }
+
+ [TODO]
+ public override Object[] GetCustomAttributes(bool inherit)
+ {
+ throw new NotImplementedException("GetCustomAttributes");
+ }
+
+ [TODO]
+ public override Object[] GetCustomAttributes(Type attributeType,
+
bool inherit)
+ {
+ throw new NotImplementedException("GetCustomAttributes");
+ }
+
+ [TODO]
+ public ILGenerator GetILGenerator()
+ {
+ throw new NotImplementedException("GetILGenerator");
+ }
+
+ [TODO]
+ public ILGenerator GetILGenerator(int size)
+ {
+ throw new NotImplementedException("GetILGenerator");
+ }
+
+ [TODO]
+ public override MethodImplAttributes GetMethodImplementationFlags()
+ {
+ throw new
NotImplementedException("GetMethodImplementationFlags");
+ }
+
+ [TODO]
+ public override ParameterInfo[] GetParameters()
+ {
+ throw new NotImplementedException("GetParameters");
+ }
+
+ [TODO]
+ public MethodToken GetToken()
+ {
+ throw new NotImplementedException("GetToken");
+ }
+
+ [TODO]
+ public override Object Invoke(Object obj, BindingFlags invokeAttr,
+ Binder
binder, Object[] parameters,
+ CultureInfo
culture)
+ {
+ throw new NotImplementedException("Invoke");
+ }
+
+ [TODO]
+ public override bool IsDefined(Type attribute_type, bool inherit)
+ {
+ throw new NotImplementedException("IsDefined");
+ }
+
+ [TODO]
+ public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
+ {
+ throw new NotImplementedException("SetCustomAttribute");
+ }
+
+ [TODO]
+ public void SetCustomAttribute(ConstructorInfo con, byte[]
binaryAttribute)
+ {
+ throw new NotImplementedException("SetCustomAttribute");
+ }
+
+ [TODO]
+ public void SetImplementationFlags(MethodImplAttributes attributes)
+ {
+ throw new NotImplementedException("SetImplementationFlags");
+ }
+
+ [TODO]
+ public override MethodAttributes Attributes
+ {
+ get
+ {
+ throw new NotImplementedException("Attributes");
+ }
+ }
+
+ [TODO]
+ public override Type DeclaringType
+ {
+ get
+ {
+ throw new NotImplementedException("DeclaringType");
+ }
+ }
+
+ [TODO]
+ public bool InitLocals
+ {
+ get
+ {
+ throw new NotImplementedException("InitLocals");
+ }
+ set
+ {
+ throw new NotImplementedException("InitLocals");
+ }
+ }
+
+ [TODO]
+ public override RuntimeMethodHandle MethodHandle
+ {
+ get
+ {
+ throw new NotImplementedException("MethodHandle");
+ }
+ }
+
+ [TODO]
+ public override String Name
+ {
+ get
+ {
+ throw new NotImplementedException("Name");
+ }
+ }
+
+ [TODO]
+ public override Type ReflectedType
+ {
+ get
+ {
+ throw new NotImplementedException("ReflectedType");
+ }
+ }
+
+ [TODO]
+ public override Type ReturnType
+ {
+ get
+ {
+ throw new NotImplementedException("ReturnType");
+ }
+ }
+
+ [TODO]
+ public override ICustomAttributeProvider ReturnTypeCustomAttributes
+ {
+ get
+ {
+ throw new
NotImplementedException("ReturnTypeCustomAttributes");
+ }
+ }
}; // class MethodBuilder
Index: ConstructorBuilder.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/ConstructorBuilder.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ConstructorBuilder.cs 4 May 2002 05:16:06 -0000 1.1
--- ConstructorBuilder.cs 28 Feb 2003 14:52:04 -0000 1.2
***************
*** 26,36 ****
using System;
using System.Reflection;
using System.Globalization;
using System.Runtime.CompilerServices;
[TODO]
! public sealed class ConstructorBuilder
{
// TODO
--- 26,223 ----
using System;
+ using System.Security;
using System.Reflection;
using System.Globalization;
+ using System.Security.Permissions;
using System.Runtime.CompilerServices;
[TODO]
! public sealed class ConstructorBuilder : ConstructorInfo
{
+ [TODO]
+ public void AddDeclarativeSecurity(SecurityAction action,
+
PermissionSet pset)
+ {
+ throw new NotImplementedException("AddDeclarativeSecurity");
+ }
+
+ [TODO]
+ public ParameterBuilder DefineParameter(int iSequence,
+
ParameterAttributes attributes,
+
String strParamName)
+ {
+ throw new NotImplementedException("DefineParameter");
+ }
+
+ [TODO]
+ public override Object[] GetCustomAttributes(bool inherit)
+ {
+ throw new NotImplementedException("GetCustomAttributes");
+ }
+
+ [TODO]
+ public override Object[] GetCustomAttributes(Type attribute_type,
+
bool inherit)
+ {
+ throw new NotImplementedException("GetCustomAttributes");
+ }
+
+ [TODO]
+ public ILGenerator GetILGenerator()
+ {
+ throw new NotImplementedException("GetILGenerator");
+ }
+
+ [TODO]
+ public override MethodImplAttributes GetMethodImplementationFlags()
+ {
+ throw new
NotImplementedException("GetMethodImplementationFlags");
+ }
+
+ [TODO]
+ public Module GetModule()
+ {
+ throw new NotImplementedException("GetModule");
+ }
+
+ [TODO]
+ public override ParameterInfo[] GetParameters()
+ {
+ throw new NotImplementedException("GetParameters");
+ }
+
+ [TODO]
+ public MethodToken GetToken()
+ {
+ throw new NotImplementedException("GetToken");
+ }
+
+ [TODO]
+ public override Object Invoke(Object obj, BindingFlags invokeAttr,
+ Binder
binder, Object[] parameters,
+ CultureInfo
culture)
+ {
+ throw new NotImplementedException("Invoke");
+ }
+
+ [TODO]
+ public override Object Invoke(BindingFlags invokeAttr,
+ Binder
binder, Object[] parameters,
+ CultureInfo
culture)
+ {
+ throw new NotImplementedException("Invoke");
+ }
+
+ [TODO]
+ public override bool IsDefined(Type attribute_type, bool inherit)
+ {
+ throw new NotImplementedException("IsDefined");
+ }
+
+ [TODO]
+ public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
+ {
+ throw new NotImplementedException("SetCustomAttribute");
+ }
+
+ [TODO]
+ public void SetCustomAttribute(ConstructorInfo con, byte[]
binaryAttribute)
+ {
+ throw new NotImplementedException("SetCustomAttribute");
+ }
+
+ [TODO]
+ public void SetImplementationFlags(MethodImplAttributes attributes)
+ {
+ throw new NotImplementedException("SetImplementationFlags");
+ }
+
+ [TODO]
+ public void SetSymCustomAttribute(String name, byte[] data)
+ {
+ throw new NotImplementedException("SetSymCustomAttribute");
+ }
+
+ [TODO]
+ public override String ToString()
+ {
+ throw new NotImplementedException("ToString");
+ }
+
+ [TODO]
+ public override MethodAttributes Attributes
+ {
+ get
+ {
+ throw new NotImplementedException("Attributes");
+ }
+ }
+
+ [TODO]
+ public override Type DeclaringType
+ {
+ get
+ {
+ throw new NotImplementedException("DeclaringType");
+ }
+ }
+
+ [TODO]
+ public bool InitLocals
+ {
+ get
+ {
+ throw new NotImplementedException("InitLocals");
+ }
+ set
+ {
+ throw new NotImplementedException("InitLocals");
+ }
+ }
+
+ [TODO]
+ public override RuntimeMethodHandle MethodHandle
+ {
+ get
+ {
+ throw new NotImplementedException("MethodHandle");
+ }
+ }
+
+ [TODO]
+ public override String Name
+ {
+ get
+ {
+ throw new NotImplementedException("Name");
+ }
+ }
+
+ [TODO]
+ public override Type ReflectedType
+ {
+ get
+ {
+ throw new NotImplementedException("ReflectedType");
+ }
+ }
+
+ [TODO]
+ public Type ReturnType
+ {
+ get
+ {
+ return typeof(Void);
+ }
+ }
+
+ [TODO]
+ public String Signature
+ {
+ get
+ {
+ throw new NotImplementedException("Signature");
+ }
+ }
// TODO
Index: FieldBuilder.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/FieldBuilder.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** FieldBuilder.cs 4 May 2002 05:16:06 -0000 1.1
--- FieldBuilder.cs 28 Feb 2003 14:52:04 -0000 1.2
***************
*** 31,36 ****
[TODO]
! public sealed class FieldBuilder
{
// TODO
--- 31,159 ----
[TODO]
! public sealed class FieldBuilder : FieldInfo
{
+ [TODO]
+ public override Object[] GetCustomAttributes(bool inherit)
+ {
+ throw new NotImplementedException("GetCustomAttributes");
+ }
+
+ [TODO]
+ public override Object[] GetCustomAttributes(Type attributeType,
+
bool inherit)
+ {
+ throw new NotImplementedException("GetCustomAttributes");
+ }
+
+ [TODO]
+ public FieldToken GetToken()
+ {
+ throw new NotImplementedException("GetToken");
+ }
+
+ [TODO]
+ public override Object GetValue(Object obj)
+ {
+ throw new NotImplementedException("GetValue");
+ }
+
+ [TODO]
+ public override bool IsDefined(Type attributeType, bool inherit)
+ {
+ throw new NotImplementedException("IsDefined");
+ }
+
+ [TODO]
+ public void SetConstant(Object defaultValue)
+ {
+ throw new NotImplementedException("SetConstant");
+ }
+
+ [TODO]
+ public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
+ {
+ throw new NotImplementedException("SetCustomAttribute");
+ }
+
+ [TODO]
+ public void SetCustomAttribute(ConstructorInfo con, byte[]
binaryAttribute)
+ {
+ throw new NotImplementedException("SetCustomAttribute");
+ }
+
+ [TODO]
+ public void SetMarshal(UnmanagedMarshal unmanagedMarshal)
+ {
+ throw new NotImplementedException("SetMarshal");
+ }
+
+ [TODO]
+ public void SetOffset(int iOffset)
+ {
+ throw new NotImplementedException("SetOffset");
+ }
+
+ [TODO]
+ public override void SetValue(Object obj, Object val,
+ BindingFlags
invokeAttr,
+ Binder
binder,
+ CultureInfo
culture)
+ {
+ throw new NotImplementedException("SetValue");
+ }
+
+ [TODO]
+ public override FieldAttributes Attributes
+ {
+ get
+ {
+ throw new NotImplementedException("Attributes");
+ }
+ }
+
+ [TODO]
+ public override Type DeclaringType
+ {
+ get
+ {
+ throw new NotImplementedException("DeclaringType");
+ }
+ }
+
+ [TODO]
+ public override RuntimeFieldHandle FieldHandle
+ {
+ get
+ {
+ throw new NotImplementedException("FieldHandle");
+ }
+ }
+
+ [TODO]
+ public override Type FieldType
+ {
+ get
+ {
+ throw new NotImplementedException("FieldType");
+ }
+ }
+
+ [TODO]
+ public override String Name
+ {
+ get
+ {
+ throw new NotImplementedException("Name");
+ }
+ }
+
+ [TODO]
+ public override Type ReflectedType
+ {
+ get
+ {
+ throw new NotImplementedException("ReflectedType");
+ }
+ }
// TODO
Index: CustomAttributeBuilder.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/CustomAttributeBuilder.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** CustomAttributeBuilder.cs 4 May 2002 05:16:06 -0000 1.1
--- CustomAttributeBuilder.cs 28 Feb 2003 14:52:04 -0000 1.2
***************
*** 33,36 ****
--- 33,71 ----
public sealed class CustomAttributeBuilder
{
+ [TODO]
+ public CustomAttributeBuilder(ConstructorInfo con,
+
Object[] constructorArgs)
+ {
+ throw new NotImplementedException(".ctor");
+ }
+
+ [TODO]
+ public CustomAttributeBuilder(ConstructorInfo con,
+
Object[] constructorArgs,
+
FieldInfo[] namedFields,
+
Object[] fieldValues)
+ {
+ throw new NotImplementedException(".ctor");
+ }
+
+ [TODO]
+ public CustomAttributeBuilder(ConstructorInfo con,
+
Object[] constructorArgs,
+
PropertyInfo[] namedProperties,
+
Object[] propertyValues)
+ {
+ throw new NotImplementedException(".ctor");
+ }
+
+ [TODO]
+ public CustomAttributeBuilder(ConstructorInfo con,
+
Object[] constructorArgs,
+
PropertyInfo[] namedProperties,
+
Object[] propertyValues,
+
FieldInfo[] namedFields,
+
Object[] fieldValues)
+ {
+ throw new NotImplementedException(".ctor");
+ }
// TODO
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit MethodBuilder.cs,1.1,1.2 ConstructorBuilder.cs,1.1,1.2 FieldBuilder.cs,1.1,1.2 CustomAttributeBuilder.cs,1.1,1.2,
Gopal.V <address@hidden> <=