예제 #1
0
        protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match)
        {
            var decl = other as EnumDeclaration;

            return(decl != null &&
                   MatchAttributesAndModifiers(decl, match) &&
                   Name.DoMatch(decl.Name, match) &&
                   UnderlyingType.DoMatch(decl.UnderlyingType, match) &&
                   Members.DoMatch(decl.Members, match));
        }