AddCustomAttribute() public method

Associate a custom attribute with this meta data element
public AddCustomAttribute ( CustomAttribute ca ) : void
ca CustomAttribute
return void
Ejemplo n.º 1
0
 internal override void Resolve(PEReader buff)
 {
     parent = buff.GetCodedElement(CIx.HasCustomAttr,parentIx);
     if (parent == null) return;
     parent.AddCustomAttribute(this);
     type = (Method)buff.GetCodedElement(CIx.CustomAttributeType,typeIx);
     byteVal = buff.GetBlob(valIx);
 }