bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
        {
            UnresolvedAttributeBlob o = other as UnresolvedAttributeBlob;

            return(o != null && attributeType == o.attributeType && ctorParameterTypes == o.ctorParameterTypes &&
                   BlobReader.BlobEquals(blob, o.blob));
        }
示例#2
0
 public CecilResolvedAttribute(ITypeResolveContext context, UnresolvedAttributeBlob unresolved)
 {
     this.context            = context;
     this.blob               = unresolved.blob;
     this.ctorParameterTypes = unresolved.ctorParameterTypes;
     this.attributeType      = unresolved.attributeType.Resolve(context);
 }