Exemplo n.º 1
0
 public VSharpResolvedAttribute(ResolveContext context, VSharpAttribute unresolved)
 {
     this.context    = context;
     this.unresolved = unresolved;
     // Pretty much any access to the attribute checks the type first, so
     // we don't need to use lazy-loading for that.
     this.attributeType = (unresolved.AttributeType as ITypeReference).Resolve(context);
 }
Exemplo n.º 2
0
        public void ResolveWithCurrentContext(ResolveContext rc)
        {
            foreach (var attr in moduleAttributes)
            {
                VSharpAttribute a = (VSharpAttribute)attr;
                a.DoResolve(rc);
                resolvedAttributes.Add(a.ResolvedAttribute);
            }



            RootPackage.DoResolve(rc);
        }
Exemplo n.º 3
0
 public void AddAttribute(VSharpAttribute attr)
 {
     Attrs.Add(attr);
 }
Exemplo n.º 4
0
 public VSharpAttributes(VSharpAttribute a)
 {
     Attrs = new List <VSharpAttribute>();
     Attrs.Add(a);
 }
Exemplo n.º 5
0
 public void AddAttributes(VSharpAttribute att)
 {
     moduleAttributes.Add(att);
 }