[Ironpython-users] RuntimeReflectionExtensions
Slide
slide.o.mix at gmail.com
Sat May 19 16:30:37 CEST 2012
Nevermind on this, it looks like my solution and projects got
corrupted somehow so the wrong preprocessor items were being defined.
On Sat, May 19, 2012 at 7:05 AM, Slide <slide.o.mix at gmail.com> wrote:
> It looks like Microsoft.Dynamic was updated to use something that is
> only available in 4.5. I'm looking in ReflectionUtils.cs at the
> following code:
>
> private static bool IncludeMethod(MethodInfo member, Type
> reflectedType, HashSet<MethodInfo> baseDefinitions, bool
> flattenHierarchy) {
> if (member.IsVirtual) {
> if
> (baseDefinitions.Add(RuntimeReflectionExtensions.GetRuntimeBaseDefinition(member)))
> {
> return true;
> }
> } else if (member.DeclaringType == reflectedType) {
> return true;
> } else if (!member.IsPrivate && (!member.IsStatic ||
> flattenHierarchy)) {
> return true;
> }
>
> return false;
> }
>
> Looking at RuntimeReflectionExtensions on MSDN it says its only
> supported in 4.5?
>
> slide
>
> --
> Website: http://earl-of-code.com
--
Website: http://earl-of-code.com
More information about the Ironpython-users
mailing list