Esempio 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;
        }
Esempio 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;
        }
Esempio n. 3
0
 public static Base Base(NRefactory.BaseReferenceExpression baseReferenceExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
 {
     return(new Base(baseReferenceExpression, scope, visitor));
 }
Esempio 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();
 }
Esempio n. 6
0
 public override AstExpression VisitBaseReferenceExpression(NRefactory.BaseReferenceExpression baseReferenceExpression, IScope scope)
 {
     return(AstExpression.Base(baseReferenceExpression, scope, this));
 }