Пример #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="inline">The inline method instruction.</param>
 public virtual void VisitInlineMethodInstruction(InlineMethodInstruction inline)
 {
 }
 /// <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));
 }