Exemplo n.º 1
0
        protected internal Base(NRefactory.BaseReferenceExpression baseReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
            : base(scope, visitor) {
            var memberReference = baseReferenceExpression.Parent.Annotation<Mono.Cecil.MemberReference>();

            _baseReferenceExpression = baseReferenceExpression;
            Context = RootScope.Context.Expression;
            InternalType = memberReference != null ? memberReference.DeclaringType.GetActualType() : Context.Type;
        }
Exemplo n.º 2
0
        protected internal Base(NRefactory.BaseReferenceExpression baseReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
            : base(scope, visitor)
        {
            var memberReference = baseReferenceExpression.Parent.Annotation <Mono.Cecil.MemberReference>();

            _baseReferenceExpression = baseReferenceExpression;
            Context      = RootScope.Context.Expression;
            InternalType = memberReference != null?memberReference.DeclaringType.GetActualType() : Context.Type;
        }
Exemplo n.º 3
0
 public static Base Base(NRefactory.BaseReferenceExpression baseReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
 {
     return(new Base(baseReferenceExpression, scope, visitor));
 }
Exemplo n.º 4
0
 public virtual S VisitBaseReferenceExpression(BaseReferenceExpression baseReferenceExpression, T data)
 {
     return(VisitChildren(baseReferenceExpression, data));
 }
 public virtual S VisitBaseReferenceExpression(BaseReferenceExpression baseReferenceExpression, T data)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 public override AstExpression VisitBaseReferenceExpression(NRefactory.BaseReferenceExpression baseReferenceExpression, IScope scope)
 {
     return(AstExpression.Base(baseReferenceExpression, scope, this));
 }