Ejemplo n.º 1
0
        bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
        {
            UnresolvedAttributeBlob o = other as UnresolvedAttributeBlob;

            return(o != null && attributeType == o.attributeType && ctorParameterTypes == o.ctorParameterTypes &&
                   BlobReader.BlobEquals(blob, o.blob));
        }
 public CecilResolvedAttribute(ITypeResolveContext context, UnresolvedAttributeBlob unresolved)
 {
     this.context            = context;
     this.blob               = unresolved.blob;
     this.ctorParameterTypes = unresolved.ctorParameterTypes;
     this.attributeType      = unresolved.attributeType.Resolve(context);
 }
Ejemplo n.º 3
0
		public CecilResolvedAttribute(ITypeResolveContext context, UnresolvedAttributeBlob unresolved)
		{
			this.context = context;
			this.blob = unresolved.blob;
			this.ctorParameterTypes = unresolved.ctorParameterTypes;
			this.attributeType = unresolved.attributeType.Resolve(context);
		}