示例#1
0
 public override ISet<Namespace> GetMember(Node node, AnalysisUnit unit, string name) {
     var res = base.GetMember(node, unit, name);
     if (res.Count > 0) {
         _klass.AddMemberReference(node, unit, name);
         return res.GetDescriptor(this, unit);
     }
     return res;
 }
示例#2
0
        public override IAnalysisSet GetTypeMember(Node node, AnalysisUnit unit, string name)
        {
            var res = base.GetTypeMember(node, unit, name);

            if (res.Count > 0)
            {
                _klass.AddMemberReference(node, unit, name);
                return(res.GetDescriptor(node, this, _klass, unit));
            }
            return(res);
        }
        public override IAnalysisSet GetMember(Node node, AnalysisUnit unit, string name)
        {
            // Must unconditionally call the base implementation of GetMember
            var res = base.GetMember(node, unit, name);

            if (res.Count > 0)
            {
                _klass.AddMemberReference(node, unit, name);
                return(res.GetDescriptor(node, this, _klass, unit));
            }
            return(res);
        }