Пример #1
0
        /// <summary>
        /// Visits the inline tok instruction.
        /// </summary>
        /// <param name="inlineTokInstruction">The inline tok instruction.</param>
        public override void VisitInlineTokInstruction(InlineTokInstruction inlineTokInstruction)
        {
            string str;

            try
            {
                str = inlineTokInstruction.Member + "/" + inlineTokInstruction.Member.DeclaringType;

                //str = string.Format("{0} {1}.{2}", getMode(inlineMethodInstruction.Method.IsStatic), inlineMethodInstruction.Method.DeclaringType.FullName, inlineMethodInstruction.Method);
            }
            catch (Exception exception)
            {
                str = "!" + exception.Message + "!";
            }
            this.collector.Process(inlineTokInstruction, str);
        }
Пример #2
0
 /// <summary>
 /// Visits the inline tok instruction.
 /// </summary>
 /// <param name="inlineTokInstruction">The inline tok instruction.</param>
 public override void VisitInlineTokInstruction(InlineTokInstruction inlineTokInstruction)
 {
     base.collector.Process(inlineTokInstruction, base.formatProvider.Int32ToHex(inlineTokInstruction.Token));
 }
Пример #3
0
 /// <summary>
 /// Visits the inline tok instruction.
 /// </summary>
 /// <param name="inlineTokInstruction">The inline tok instruction.</param>
 public virtual void VisitInlineTokInstruction(InlineTokInstruction inlineTokInstruction)
 {
 }