Message from discussion
Re[mono-cecil] solving generic method parameters
Received: by 10.224.70.131 with SMTP id d3mr5715534qaj.0.1348815901726;
Fri, 28 Sep 2012 00:05:01 -0700 (PDT)
X-BeenThere: mono-cecil@googlegroups.com
Received: by 10.229.178.19 with SMTP id bk19ls5350320qcb.0.gmail; Fri, 28 Sep
2012 00:05:01 -0700 (PDT)
Received: by 10.224.189.75 with SMTP id dd11mr5702482qab.6.1348815900985;
Fri, 28 Sep 2012 00:05:00 -0700 (PDT)
Received: by 10.224.28.72 with SMTP id l8msqac;
Fri, 28 Sep 2012 00:03:55 -0700 (PDT)
Received: by 10.52.71.38 with SMTP id r6mr1555576vdu.12.1348815835321;
Fri, 28 Sep 2012 00:03:55 -0700 (PDT)
Date: Fri, 28 Sep 2012 00:03:54 -0700 (PDT)
From: John Marshall <john.m.marsh...@gmail.com>
To: mono-cecil@googlegroups.com
Message-Id: <35e56168-8851-4019-98ed-40256d6c771c@googlegroups.com>
In-Reply-To: <27535759.post@talk.nabble.com>
References: <27535759.post@talk.nabble.com>
Subject: Re: Re[mono-cecil] solving generic method parameters
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_815_29675881.1348815834552"
------=_Part_815_29675881.1348815834552
Content-Type: multipart/alternative;
boundary="----=_Part_816_9463617.1348815834552"
------=_Part_816_9463617.1348815834552
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I'm having the same issue. It looks like GenericParameters like !!0 can be
resolved to actual TypeDefinitions by using the GenericArguments which
specify <int,int> for instance, but is there a proper way to do this? My
current implementation works, but feels hackish because it has to
recursively iterate a type's argument's looking for GenericParameters to
replace with actual TypeDefinitions.
Thanks, John
>
> www.codeperspective.com :)
------=_Part_816_9463617.1348815834552
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I'm having the same issue. It looks like GenericParameters like !!0 can be resolved to actual TypeDefinitions by using the GenericArguments which specify <int,int> for instance, but is there a proper way to do this? My current implementation works, but feels hackish because it has to recursively iterate a type's argument's looking for GenericParameters to replace with actual TypeDefinitions.<br><br>Thanks, John<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></blockquote><div>www.codeperspective.com :)</div>
------=_Part_816_9463617.1348815834552--
------=_Part_815_29675881.1348815834552--