Example #1
0
        public static void AcceptVisitor <TResult> (
            this Instruction instruction,
            MetadataVisitor <TResult> visitor)
        {
            if (!visitor.ShouldTraverseInto(visitor.VisitInstruction(instruction)))
            {
                return;
            }

            DynamicAccept(instruction.Operand, visitor);
        }