public override void VisitArgumentReferenceExpression(ArgumentReferenceExpression node) { if (node.Parameter.Resolve() == parameter) { this.searchResult = UsageFinderSearchResult.Used; } }
public override void VisitArgumentReferenceExpression(ArgumentReferenceExpression node) { Write(GetArgumentName(node.Parameter)); }
private bool CheckArgumentReference(ArgumentReferenceExpression node) { return node != null && node.Parameter.Resolve() == parameter; }
public override void VisitArgumentReferenceExpression(ArgumentReferenceExpression node) { TrySetPendingName(node.Parameter.Name, false); base.VisitArgumentReferenceExpression(node); }
public override ICodeNode VisitArgumentReferenceExpression(ArgumentReferenceExpression node) { AddReferencedParameter(node.Parameter.Resolve()); return node; }
public virtual void VisitArgumentReferenceExpression(ArgumentReferenceExpression node) { }
public override ICodeNode VisitArgumentReferenceExpression(ArgumentReferenceExpression node) { ParameterReference parameterReference = node.Parameter; VariableReference variableReference; if (parameterToVariableMap.TryGetValue(parameterReference.Resolve(), out variableReference)) { return new VariableReferenceExpression(variableReference, node.UnderlyingSameMethodInstructions); } return node; }