Hey,
On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> When i'm playing around with Mono.Cecil to rename properties, I have a
> problem: After renaming the application doesn't work anymore.
What do you mean <<doesn't work anymore>>?
> BEFORE
>
> *******
> if (File.Exists(path))
> {
> File.Delete(path);
> }
> this.myListView.Items.Clear();
> Interaction.MsgBox(string.Intern("System.Char[]"),
> MsgBoxStyle.Information, string.Intern("System.Char[]"));
> *******
>
> AFTER
> *******
> if (File.Exists(path))
> {
> File.Delete(path);
> }
> this.get_aaabbbccc().Items.Clear();
> Interaction.MsgBox(string.Intern("System.Char[]"),
> MsgBoxStyle.Information, string.Intern("System.Char[]"));
> *******
>
> As we can see instead of the name of the property, we have the
> GetMethod of this property.
>
> How can we fix this problem? Should I fix all references to this
> property?
The fact that Reflector is confused because you've renamed only the
property, and not the get method doesn't mean that the property have
not be renamed.
--
Jb
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---