[Ironpython-users] RuntimeReflectionExtensions

Slide slide.o.mix at gmail.com
Sat May 19 16:05:08 CEST 2012


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


More information about the Ironpython-users mailing list