Hi all,
When i'm playing around with Mono.Cecil to rename properties, I have a
problem: After renaming the application doesn't work anymore. I use
Reflector to decompile and here is the before and after renaming
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?
Thanks.
Regards.
rca.
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---