Exemplo n.º 1
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            CastExpression o = other as CastExpression;

            return(o != null && this.Expression.DoMatch(o.Expression, match));
        }
Exemplo n.º 2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            DestructorDeclaration o = other as DestructorDeclaration;

            return(o != null && this.MatchAttributesAndModifiers(o, match) && this.Body.DoMatch(o.Body, match));
        }