Oh right, here's the function inside the DefaultReflection.cs file
that causes the StackOverFlow exception \o/

public object Get(object instance, string name)
        {
            try
            {
                Type type = instance.GetType();
                PropertyInfo property = type.GetProperty(name);
                if (property == null)
                {
                    logger.InfoFormat("Could not find property {0} to
get on {1}", name, type);
                    return null;
                }
                return property.GetValue(instance, null); // It throws
the StackOverflowException here!
            }
            catch (TargetInvocationException e)
            {
                throw InnerExceptionWhilePreservingStackTrace(e);
            }
        }

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to