On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It crashes and can not run.
Obviously, if it <<doesn't work>>, I expect it not to run. But what's the crash? What's the message? Please run peverify after your modification of the assembly to ensure that either you or Cecil didn't messed up the assembly. > Sorry, but i don't understand what you mean with this > ****** > doesn't mean that the property have > not be renamed. > ****** You said you've renamed a property. I assume that by that, you mean that you've changed the Name property of an instance of PropertyDefinition. Usually, a property have methods, and usually, they are named after the name of the property they belong to. That mean that Reflector is maybe confused by something, either that you renamed only the name of the methods, or only the name of the property. But we can only guess with the details you provided. -- Jb --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
