コード例 #1
0
 public override void VisitPointerReferenceExpression(PointerReferenceExpression pointerReferenceExpression)
 {
     ForceSpacesAround(pointerReferenceExpression.ArrowToken, policy.SpaceAroundUnsafeArrowOperator);
     base.VisitPointerReferenceExpression(pointerReferenceExpression);
 }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            PointerReferenceExpression o = other as PointerReferenceExpression;

            return(o != null && MatchString(this.MemberName, o.MemberName) && this.TypeArguments.DoMatch(o.TypeArguments, match));
        }
コード例 #3
0
 void IAstVisitor.VisitPointerReferenceExpression(PointerReferenceExpression pointerReferenceExpression)
 {
     Visit(EnterPointerReferenceExpression, LeavePointerReferenceExpression, pointerReferenceExpression);
 }
 public override void VisitPointerReferenceExpression(PointerReferenceExpression pointerReferenceExpression)
 {
     ParenthesizeIfRequired(pointerReferenceExpression.Target, Primary);
     base.VisitPointerReferenceExpression(pointerReferenceExpression);
 }