RuleExpressionWalker.Match(CodeExpression, CodeExpression) Method

Definition

Compares the current expression and child nodes to another expression to determine whether they are equal.

public:
 static bool Match(System::CodeDom::CodeExpression ^ firstExpression, System::CodeDom::CodeExpression ^ secondExpression);
public static bool Match (System.CodeDom.CodeExpression firstExpression, System.CodeDom.CodeExpression secondExpression);
static member Match : System.CodeDom.CodeExpression * System.CodeDom.CodeExpression -> bool
Public Shared Function Match (firstExpression As CodeExpression, secondExpression As CodeExpression) As Boolean

Parameters

firstExpression
CodeExpression

The first CodeExpression in the comparison.

secondExpression
CodeExpression

The second CodeExpression in the comparison.

Returns

true if the expressions are equal; otherwise, false.

Applies to