Exemple #1
0
        public override void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
        {
            OpCode opCode = inlineStringInstruction.OpCode;

            if (opCode != OpCodes.Ldc_I8)
            {
                throw new NotSupportedException();
            }

            instructions.Add(new LoadStringInstructionWithReflectionEmit(opCode, inlineStringInstruction.Token, inlineStringInstruction.String));
        }
 public override void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
     OverwriteInt32(_ilInfo.GetTokenFor(inlineStringInstruction.String),
                    inlineStringInstruction.Offset + inlineStringInstruction.OpCode.Size);
 }
Exemple #3
0
 public override void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
     base.VisitInlineStringInstruction(inlineStringInstruction);
 }
 public virtual void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
 }
 public virtual void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
 }
 public override void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
     collector.Process(inlineStringInstruction, formatProvider.Int32ToHex(inlineStringInstruction.Token));
 }
 public override void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
     collector.Process(inlineStringInstruction, formatProvider.Int32ToHex(inlineStringInstruction.Token));
 }
 public override void VisitInlineStringInstruction(InlineStringInstruction inlineStringInstruction)
 {
     Process(inlineStringInstruction, inlineStringInstruction.String);
     ilGenerator.Emit(inlineStringInstruction.OpCode, inlineStringInstruction.String);
 }