On 1/5/09, Daniel Cazzulino <[email protected]> wrote: > I'm thinking that a (albeit more laborious) more explicit API that forces > that kind of thing would make for a much better learning curve (i.e. having > OpCode-derived classes and overloads with the specific arguments expected by > them?)
Yeah, we should have a much better API for manipulating and for emitting from scratch IL. > how do I know if a ParameterDefinition is byref ? IsOut or IsRetval don't > work. Should I just look for a trailing "&" on the type name? :| Its .ParameterType will be a ReferenceType, wrapping the actual TypeReference. -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
