Ok fair point. Then another question. Why do set methods for Automatic properties have no sequence points?
On Sat, Jul 3, 2010 at 8:12 PM, Jb Evain <[email protected]> wrote: > On Sat, Jul 3, 2010 at 12:05 PM, Simon Cropp <[email protected]> wrote: >> If i have access to a pdb how do i get the filename that >> TypeDefinition came from? > > You don't :) > > Only instructions have sequence points (coordinates) into files. It > makes sense when you think about it: you can have partial classes, > spread across different files. Hell, you can even have methods with > sequence points targeting different files (a field initializer in one > file and the rest of the constructor in another). > > -- > Jb Evain <[email protected]> > > -- > -- > mono-cecil -- -- mono-cecil
