AgentMulder.ReSharper.Domain.Patterns.RegistrationPatternBase.Match C# (CSharp) Method

Match() protected method

protected Match ( ITreeNode treeNode ) : IStructuralMatchResult
treeNode ITreeNode
return IStructuralMatchResult
        protected IStructuralMatchResult Match(ITreeNode treeNode)
        {
            IInvocationExpression expression = GetMatchedExpression(treeNode);
            if (expression == null)
            {
                return matcher.Match(treeNode);
            }

            return matcher.Match(expression);
        }