Hi,
Thanks for the workaround, that works just fine! And I noticed that those
methods had the structs passed by ref...so maybe that was the problem!
Thanks again!


On Fri, Jan 6, 2012 at 10:06 AM, Jb Evain <[email protected]> wrote:

> Hi,
>
> On Jan 6, 2012, at 5:40 PM, Vidisha Ghosh wrote:
> > The reason I am baffled because the IsValueType returns false for a
> struct, when I check for "parameterReference.ParameterType.IsValueType".
> > Am I doing something wrong here?
>
> This looks weird. Can you send me an assembly which reproduces this ?
>
> As a workaround, you can call .Resolve on the TypeReference to get a
> TypeDefinition that will have the proper ValueTypeness.
>
> Jb
>
> --
> --
> mono-cecil




-- 
Vidisha Ghosh

-- 
--
mono-cecil

Reply via email to