dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit Unmana


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit UnmanagedMarshal.cs,NONE,1.1 ILGenerator.cs,NONE,1.1 LocalBuilder.cs,NONE,1.1 ParameterBuilder.cs,NONE,1.1
Date: Sun, 22 Dec 2002 05:20:34 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit
In directory subversions:/tmp/cvs-serv7226/runtime/System/Reflection/Emit

Added Files:
        UnmanagedMarshal.cs ILGenerator.cs LocalBuilder.cs 
        ParameterBuilder.cs 
Log Message:
Stub calls into Reflection.Emit


--- NEW FILE ---
/*
 * UnmanagedMarshal.cs - Implementation of 
"System.Reflection.Emit.UnmanagedMarshal" 
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V <address@hidden> 
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

using System;
using System.Runtime.InteropServices;

namespace System.Reflection.Emit
{
        public sealed class UnmanagedMarshal
        {
                [TODO]
                public static UnmanagedMarshal DefineByValArray(int elemCount)
                {
                        throw new NotImplementedException("DefineByValArray");
                }

                [TODO]
                public static UnmanagedMarshal DefineByValTStr(int elemCount)
                {
                        throw new NotImplementedException("DefineByValTStr");
                }

                [TODO]
                public static UnmanagedMarshal DefineLPArray(UnmanagedType 
elemType)
                {
                        throw new NotImplementedException("DefineLPArray");
                }

                [TODO]
                public static UnmanagedMarshal DefineSafeArray(UnmanagedType 
elemType)
                {
                        throw new NotImplementedException("DefineSafeArray");
                }

                [TODO]
                public static UnmanagedMarshal 
DefineUnmanagedMarshal(UnmanagedType unmanagedType)
                {
                        throw new 
NotImplementedException("DefineUnmanagedMarshal");
                }

                [TODO]
                public UnmanagedType BaseType 
                {
                        get
                        {
                                throw new NotImplementedException("BaseType");
                        }
                }

                [TODO]
                public int ElementCount 
                {
                        get
                        {
                                throw new 
NotImplementedException("ElementCount");
                        }
                }

                [TODO]
                public UnmanagedType GetUnmanagedType 
                {
                        get
                        {
                                throw new 
NotImplementedException("GetUnmanagedType");
                        }
                }

                [TODO]
                public Guid IIDGuid 
                {
                        get
                        {
                                throw new NotImplementedException("IIDGuid");
                        }
                }

        }
}//namespace

--- NEW FILE ---
/*
 * ILGenerator.cs - Implementation of "System.Reflection.Emit.ILGenerator" 
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V <address@hidden> 
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

using System;

namespace System.Reflection.Emit
{
        public class ILGenerator
        {
                [TODO]
                public virtual void BeginCatchBlock(System.Type exceptionType)
                {
                        throw new NotImplementedException("BeginCatchBlock");
                }

                [TODO]
                public virtual void BeginExceptFilterBlock()
                {
                        throw new 
NotImplementedException("BeginExceptFilterBlock");
                }

                [TODO]
                public virtual Label BeginExceptionBlock()
                {
                        throw new 
NotImplementedException("BeginExceptionBlock");
                }

                [TODO]
                public virtual void BeginFaultBlock()
                {
                        throw new NotImplementedException("BeginFaultBlock");
                }

                [TODO]
                public virtual void BeginFinallyBlock()
                {
                        throw new NotImplementedException("BeginFinallyBlock");
                }

                [TODO]
                public virtual void BeginScope()
                {
                        throw new NotImplementedException("BeginScope");
                }

                [TODO]
                public LocalBuilder DeclareLocal(Type localType)
                {
                        throw new NotImplementedException("DeclareLocal");
                }

                [TODO]
                public virtual Label DefineLabel()
                {
                        throw new NotImplementedException("DefineLabel");
                }

                [TODO]
                public virtual void Emit(OpCode opcode)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, byte val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, ConstructorInfo 
constructor)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, double val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, FieldInfo field)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, short val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, int val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, long val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, Label label)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, Label[] labels)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, LocalBuilder lbuilder)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, MethodInfo method)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public void Emit(OpCode opcode, sbyte val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, SignatureHelper shelper)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, float val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, String val)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public virtual void Emit(OpCode opcode, Type type)
                {
                        throw new NotImplementedException("Emit");
                }

                [TODO]
                public void EmitCall(OpCode opcode, MethodInfo methodinfo, 
Type[] optionalParamTypes)
                {
                        throw new NotImplementedException("EmitCall");
                }

                [TODO]
                public void EmitCalli(OpCode opcode, CallingConventions 
call_conv, Type returnType, Type[] paramTypes, Type[] optionalParamTypes)
                {
                        throw new NotImplementedException("EmitCalli");
                }

                [TODO]
                public virtual void EmitWriteLine(FieldInfo field)
                {
                        throw new NotImplementedException("EmitWriteLine");
                }

                [TODO]
                public virtual void EmitWriteLine(LocalBuilder lbuilder)
                {
                        throw new NotImplementedException("EmitWriteLine");
                }

                [TODO]
                public virtual void EmitWriteLine(String val)
                {
                        throw new NotImplementedException("EmitWriteLine");
                }

                [TODO]
                public virtual void EndExceptionBlock()
                {
                        throw new NotImplementedException("EndExceptionBlock");
                }

                [TODO]
                public virtual void EndScope()
                {
                        throw new NotImplementedException("EndScope");
                }

                [TODO]
                public virtual void MarkLabel(Label loc)
                {
                        throw new NotImplementedException("MarkLabel");
                }

                [TODO]
                public virtual void MarkSequencePoint(int document, int 
startLine, int startColumn, int endLine, int endColumn)
                {
                        throw new NotImplementedException("MarkSequencePoint");
                }

                [TODO]
                public virtual void ThrowException(Type exceptionType)
                {
                        throw new NotImplementedException("ThrowException");
                }

                [TODO]
                public void UsingNamespace(String usingNamespace)
                {
                        throw new NotImplementedException("UsingNamespace");
                }

        }
}//namespace

--- NEW FILE ---
/*
 * LocalBuilder.cs - Implementation of "System.Reflection.Emit.LocalBuilder" 
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V <address@hidden> 
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

 using System;

namespace System.Reflection.Emit
{
        public sealed class LocalBuilder
        {
                [TODO]
                public void SetLocalSymInfo(String lname, int startOffset, int 
endOffset)
                {
                        throw new NotImplementedException("SetLocalSymInfo");
                }

                [TODO]
                public void SetLocalSymInfo(String lname)
                {
                        throw new NotImplementedException("SetLocalSymInfo");
                }

                [TODO]
                public Type LocalType 
                { 
                        get
                        {
                                throw new NotImplementedException("LocalType");
                        }
                }

        }
}//namespace

--- NEW FILE ---
/*
 * ParameterBuilder.cs - Implementation of 
"System.Reflection.Emit.ParameterBuilder" 
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V <address@hidden> 
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

using System;

namespace System.Reflection.Emit
{
        public class ParameterBuilder
        {
                [TODO]
                public virtual ParameterToken GetToken()
                {
                        throw new NotImplementedException("GetToken");
                }

                [TODO]
                public virtual 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 virtual void SetMarshal(UnmanagedMarshal 
unmanagedMarshal)
                {
                        throw new NotImplementedException("SetMarshal");
                }

                [TODO]
                public virtual int Attributes 
                { 
                        get
                        {
                                throw new NotImplementedException("Attributes");
                        }
                }

                [TODO]
                public bool IsIn 
                { 
                        get
                        {
                                throw new NotImplementedException("IsIn");
                        }
                }

                [TODO]
                public bool IsOptional 
                {
                        get
                        {
                                throw new NotImplementedException("IsOptional");
                        }
                }

                [TODO]
                public bool IsOut 
                { 
                        get
                        {
                                throw new NotImplementedException("IsOut");
                        }
                }

                [TODO]
                public virtual String Name 
                { 
                        get
                        {
                                throw new NotImplementedException("Name");
                        }
                }

                [TODO]
                public virtual int Position 
                { 
                        get
                        {
                                throw new NotImplementedException("Position");
                        }
                }

        }
}//namespace




reply via email to

[Prev in Thread] Current Thread [Next in Thread]