/// <summary> /// Initialises a new instance of the InlineMethodILInstruction class /// </summary> /// <param name="code">The OpCode describing the operation of the instruction</param> internal InlineTokenILInstruction(AssemblyDef assembly, OpCode code, uint metadataToken) : base(code) { _entry = assembly.ResolveMetadataToken(metadataToken); }
/// <summary> /// Initialises a new instance of the InlineMethodILInstruction class /// </summary> /// <param name="code">The OpCode describing the operation of the instruction</param> internal InlineFieldILInstruction(AssemblyDef assembly, OpCode code, uint metadataToken) : base(code) { _fieldDef = assembly.ResolveMetadataToken(metadataToken) as MemberRef; }
/// <summary> /// Initialises a new instance of the InlineMethodILInstruction class /// </summary> /// <param name="code">The OpCode describing the operation of the instruction</param> internal InlineTypeILInstruction(AssemblyDef assembly, OpCode code, uint metadataToken) : base(code) { _typeDef = assembly.ResolveMetadataToken(metadataToken) as TypeRef; }