about Custom Attributes!

X

xiaorun huang

I want use AssemblyBuilder's SetCustomAttribute to set a custom attributes!
it is alway true, but some times, use the same program with different data,
the custom attribute name losted! when i use with ildasm, it will show as

.custom UNNAMED_CUSTOM_ATTR = ( 01 00 01 01 00 00 )
.custom UNNAMED_CUSTOM_ATTR = ( 01 00 01 00 00 )

the data part is right! but name lost!

why?


xiaorun huang
 
X

xiaorun huang

More about it!

When i change Save with a parameter which is not module name, then the
custom attributes set OK!

If with a name same as module name in assembly, then some times, the error
occur!

xiaorun huang!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top