Write() public method

public Write ( MsilInstruction instruction ) : void
instruction MsilInstruction
return void
示例#1
0
        private void WriteCode(WritingContext context)
        {
            var builder   = new MethodBodyOperandBuilder((NetBuildingContext)context.BuildingContext, this);
            var assembler = new MsilAssembler(builder, context.Writer);

            foreach (var instruction in Instructions)
            {
                assembler.Write(instruction);
            }
        }
示例#2
0
        private void WriteCode(WritingContext context)
        {
            var builder = new MethodBodyOperandBuilder((NetBuildingContext)context.BuildingContext, this);
            var assembler = new MsilAssembler(builder, context.Writer);

            foreach (var instruction in Instructions)
                assembler.Write(instruction);
        }