Пример #1
0
 void IAstVisitor.VisitTypeParameterDeclaration(TypeParameterDeclaration typeParameterDeclaration)
 {
     Visit(EnterTypeParameterDeclaration, LeaveTypeParameterDeclaration, typeParameterDeclaration);
 }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            TypeParameterDeclaration o = other as TypeParameterDeclaration;

            return(o != null && this.Variance == o.Variance && MatchString(this.Name, o.Name) && this.Attributes.DoMatch(o.Attributes, match));
        }