Example #1
0
 /// <summary>
 /// Traverses the method reference.
 /// </summary>
 public void Traverse(IMethodReference methodReference)
 {
     Contract.Requires(methodReference != null);
       methodReference.DispatchAsReference(this.dispatchingVisitor);
 }
Example #2
0
 private void TraverseUnspecialized(IMethodReference methodReference)
 {
     Contract.Requires(methodReference != null);
       if (!this.objectsThatHaveAlreadyBeenTraversed.Add(methodReference)) return;
       if (this.preorderVisitor != null) methodReference.DispatchAsReference(this.preorderVisitor);
       if (this.stopTraversal) return;
       this.TraverseChildren(methodReference);
       if (this.stopTraversal) return;
       if (this.postorderVisitor != null) methodReference.DispatchAsReference(this.postorderVisitor);
 }
Example #3
0
 /// <summary>
 /// Traverses the method reference.
 /// </summary>
 public void Traverse(IMethodReference methodReference)
 {
     methodReference.DispatchAsReference(this.dispatchingVisitor);
 }