• Home
  • Install
  • Cosmos Website
  • Articles
  • Cosmos
  • X#
  • IL2CPU
Show / Hide Table of Contents
  • Cosmos.IL2CPU
    • _ExceptionRegionInfo
    • _FieldInfo
    • CompilerHelpers
    • CosmosAssembler
    • ExceptionHelper
    • ExceptionHelperRefs
    • GCImplementationRefs
    • ICompilerEngineSettings
    • Il2cpuMethodInfo
    • Il2cpuMethodInfo.TypeEnum
    • ILOp
    • ILOpCode
    • ILOpCode.Code
    • ILReader
    • KernelPanics
    • MethodBaseComparer
    • OpCodeAttribute
    • PlugInfo
    • Program
    • ScannerQueueItem
    • SZArrayImpl<T>
    • VTablesImplRefs
  • Cosmos.IL2CPU.Extensions
    • FieldExtensions
    • TypeExtensions
  • Cosmos.IL2CPU.ILOpCodes
    • Box<T>
    • NullRef
    • OpBranch
    • OpDouble
    • OpField
    • OpInt
    • OpInt64
    • OpMethod
    • OpNone
    • OpSig
    • OpSingle
    • OpString
    • OpSwitch
    • OpToken
    • OpType
    • OpVar
  • Cosmos.IL2CPU.MethodAnalysis
    • ILGroup
    • ILMethod
  • Cosmos.IL2CPU.X86.IL
    • Add
    • Add_Ovf
    • Add_Ovf_Un
    • And
    • Arglist
    • Box
    • Br
    • Branch
    • Break
    • Call
    • Calli
    • Callvirt
    • Castclass
    • Ceq
    • Cgt
    • Cgt_Un
    • Ckfinite
    • Clt
    • Clt_Un
    • Constrained
    • Conv_I
    • Conv_I1
    • Conv_I2
    • Conv_I4
    • Conv_I8
    • Conv_Ovf_I
    • Conv_Ovf_I_Un
    • Conv_Ovf_I1
    • Conv_Ovf_I1_Un
    • Conv_Ovf_I2
    • Conv_Ovf_I2_Un
    • Conv_Ovf_I4
    • Conv_Ovf_I4_Un
    • Conv_Ovf_I8
    • Conv_Ovf_I8_Un
    • Conv_Ovf_U
    • Conv_Ovf_U_Un
    • Conv_Ovf_U1
    • Conv_Ovf_U1_Un
    • Conv_Ovf_U2
    • Conv_Ovf_U2_Un
    • Conv_Ovf_U4
    • Conv_Ovf_U4_Un
    • Conv_Ovf_U8
    • Conv_Ovf_U8_Un
    • Conv_R_Un
    • Conv_R4
    • Conv_R8
    • Conv_U
    • Conv_U1
    • Conv_U2
    • Conv_U4
    • Conv_U8
    • Cpblk
    • Cpobj
    • Div
    • Div_Un
    • Dup
    • Endfilter
    • Endfinally
    • Initblk
    • Initobj
    • Isinst
    • Jmp
    • Ldarg
    • Ldarga
    • Ldc_I4
    • Ldc_I8
    • Ldc_R4
    • Ldc_R8
    • Ldelem
    • Ldelem_I
    • Ldelem_I1
    • Ldelem_I2
    • Ldelem_I4
    • Ldelem_I8
    • Ldelem_R4
    • Ldelem_R8
    • Ldelem_Ref
    • Ldelem_U1
    • Ldelem_U2
    • Ldelem_U4
    • Ldelema
    • Ldfld
    • Ldflda
    • Ldftn
    • Ldind
    • Ldlen
    • Ldloc
    • Ldloca
    • Ldnull
    • Ldobj
    • Ldsfld
    • Ldsflda
    • LdStr
    • Ldtoken
    • Ldvirtftn
    • Leave
    • Localloc
    • Mkrefany
    • Mul
    • Mul_Ovf
    • Mul_Ovf_Un
    • Neg
    • Newarr
    • Newobj
    • Nop
    • Not
    • Or
    • Pop
    • Readonly
    • Refanytype
    • Refanyval
    • Rem
    • Rem_Un
    • Ret
    • Rethrow
    • Shl
    • Shr
    • Shr_Un
    • Sizeof
    • Starg
    • Stelem
    • Stelem_I
    • Stelem_I1
    • Stelem_I2
    • Stelem_I4
    • Stelem_I8
    • Stelem_R4
    • Stelem_R8
    • Stelem_Ref
    • Stfld
    • Stind
    • Stloc
    • Stobj
    • Stsfld
    • Sub
    • Sub_Ovf
    • Sub_Ovf_Un
    • Switch
    • Throw
    • Unaligned
    • Unbox
    • Unbox_Any
    • Volatile
    • Xor
  • IL2CPU.API
    • InlineAttribute
    • LabelName
    • ObjectPointerAccess
    • ObjectUtils
    • ObjectUtils.InstanceTypeEnum
    • TargetPlatform
  • IL2CPU.API.Attribs
    • AsmLabel
    • AsmMarker
    • AsmMarker.Type
    • BootEntry
    • DebugStub
    • FieldAccess
    • FieldType
    • ForceIncludeAttribute
    • ManifestResourceStreamAttribute
    • Plug
    • PlugAssembly
    • PlugAssembly.AssemblyType
    • PlugField
    • PlugMethod

Class Newobj

Inheritance
System.Object
ILOp
Newobj
Inherited Members
ILOp.Assembler
ILOp.DebugEnabled
ILOp.GetTypeIDLabel(Type)
ILOp.Align(UInt32, UInt32)
ILOp.SignedAlign(Int32, Int32)
ILOp.GetLabel(Il2cpuMethodInfo, ILOpCode)
ILOp.GetLabel(MethodBase)
ILOp.GetLabel(Il2cpuMethodInfo)
ILOp.GetLabel(Il2cpuMethodInfo, Int32)
ILOp.ToString()
ILOp.Jump_End(Il2cpuMethodInfo)
ILOp.GetStackCountForLocal(Il2cpuMethodInfo, Type)
ILOp.GetEBPOffsetForLocal(Il2cpuMethodInfo, Int32)
ILOp.GetEBPOffsetForLocalForDebugger(Il2cpuMethodInfo, Int32)
ILOp.GetFieldsInfo(Type, Boolean)
ILOp.GetStorageSize(Type)
ILOp.EmitExceptionCleanupAfterCall(Assembler, UInt32, UInt32, UInt32)
ILOp.EmitExceptionLogic(Assembler, Il2cpuMethodInfo, ILOpCode, Boolean, Action, String)
ILOp.DoNullReferenceCheck(Assembler, Boolean, Int32)
ILOp.ResolveField(Type, String, Boolean)
ILOp.ResolveField(FieldInfo)
ILOp.IsReferenceType(Type)
ILOp.TypeIsSigned(Type)
ILOp.IsIntegerBasedType(Type)
ILOp.IsLongBasedType(Type)
ILOp.IsSameValueType(Type, Type)
ILOp.IsIntegralTypeOrPointer(Type)
ILOp.IsPointer(Type)
ILOp.IsObject(Type)
ILOp.IsByRef(Type)
ILOp.SizeOfType(Type)
ILOp.TypeIsFloat(Type)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Cosmos.IL2CPU.X86.IL
Assembly: Cosmos.IL2CPU.dll
Syntax
[OpCode(ILOpCode.Code.Newobj)]
public class Newobj : ILOp

Constructors

| Improve this Doc View Source

Newobj(Assembler)

Declaration
public Newobj(Assembler aAsmblr)
Parameters
Type Name Description
Assembler aAsmblr

Methods

| Improve this Doc View Source

Assemble(Assembler, Il2cpuMethodInfo, OpMethod, String, Type, MethodBase, Boolean)

Declaration
public static void Assemble(Assembler aAssembler, Il2cpuMethodInfo aMethod, OpMethod xMethod, string currentLabel, Type objectType, MethodBase constructor, bool debugEnabled)
Parameters
Type Name Description
Assembler aAssembler
Il2cpuMethodInfo aMethod
OpMethod xMethod
System.String currentLabel
System.Type objectType
System.Reflection.MethodBase constructor
System.Boolean debugEnabled
| Improve this Doc View Source

Execute(Il2cpuMethodInfo, ILOpCode)

Declaration
public override void Execute(Il2cpuMethodInfo aMethod, ILOpCode aOpCode)
Parameters
Type Name Description
Il2cpuMethodInfo aMethod
ILOpCode aOpCode
Overrides
ILOp.Execute(Il2cpuMethodInfo, ILOpCode)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
☀
☾