On Tue, May 31, 2011 at 3:46 PM, Simon Cropp <[email protected]> wrote: > I am passing a name to the VariableDefinition constructor but that > name does not seem to be persisting to the IL. > > Am I missing something?
Variable names are not stored in assemblies, but in debug symbols. You need to emit the according debug symbols file. (WriterParameters.WriteSymbols = true). Jb -- -- mono-cecil
