示例#1
0
        /// <summary>
        /// Visits the inline method instruction.
        /// </summary>
        /// <param name="inlineMethodInstruction">The inline method instruction.</param>
        public override void VisitInlineMethodInstruction(InlineMethodInstruction inlineMethodInstruction)
        {
            string str;

            try
            {
                str = string.Format("{0} {1}", getMode(inlineMethodInstruction.Method.IsStatic), Serialize(inlineMethodInstruction.Method));
            }
            catch (Exception exception)
            {
                str = "!" + exception.Message + "!";
            }
            this.collector.Process(inlineMethodInstruction, str);
        }
示例#2
0
 /// <summary>
 /// Visits the inline method instruction.
 /// </summary>
 /// <param name="inlineMethodInstruction">The inline method instruction.</param>
 public override void VisitInlineMethodInstruction(InlineMethodInstruction inlineMethodInstruction)
 {
     base.collector.Process(inlineMethodInstruction, base.formatProvider.Int32ToHex(inlineMethodInstruction.Token));
 }
 /// <summary>
 /// Visits the inline method instruction.
 /// </summary>
 /// <param name="inlineMethodInstruction">The inline method instruction.</param>
 public virtual void VisitInlineMethodInstruction(InlineMethodInstruction inlineMethodInstruction)
 {
 }