public void GetCustomAttributeProps( int customAttributeToken, out int constructorToken, out ConstArray signature) { _GetCustomAttributeProps(m_metadataImport2, out MetadataArgs.Skip, customAttributeToken, out constructorToken, out signature); }
internal static CustomAttributeRecord[] GetCustomAttributeRecords(RuntimeModule module, int targetToken) { MetadataImport metadataImport = module.MetadataImport; MetadataEnumResult result; metadataImport.EnumCustomAttributes(targetToken, out result); CustomAttributeRecord[] customAttributeRecordArray = new CustomAttributeRecord[result.Length]; for (int index = 0; index < customAttributeRecordArray.Length; ++index) { metadataImport.GetCustomAttributeProps(result[index], out customAttributeRecordArray[index].tkCtor.Value, out customAttributeRecordArray[index].blob); } return(customAttributeRecordArray); }