On 5/26/09, guns <[email protected]> wrote: > > I am new to cecil. > I want to change the value of a string constant in a class. I get the > FieldDefinition, but how can i change the value?
FieldDefinition field = ...; field.Constant = "Xyz"; This won't change the places where the constant is actually used, as the compiler inlines the constants. -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
