If you happen to have a .dll compiled with your changes we could try to
drop it in our projects and run the tests to see what breaks.


On Fri, Oct 11, 2013 at 1:15 PM, Rock Hymas <notifications@github.com>wrote:

> In SpecEasy/Spec.cs:
>
> > @@ -103,7 +205,8 @@ private void CreateMethodContexts()
> >              var type = GetType();
> >              var methods = type.GetMethods();
> >              var baseMethods = type.BaseType != null ? type.BaseType.GetMethods() : new MethodInfo[] {};
> > -            var declaredMethods = methods.Where(m => baseMethods.All(bm => bm.Name != m.Name));
> > +            var declaredMethods = methods.Where(m => baseMethods.All(bm => bm.Name != m.Name))
> > +                .Where(m => !m.GetParameters().Any() && m.ReturnType == typeof(void));
>
> This change limits the methods in which we look for specs to those that
> have no parameters and have return type of void.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/trackabout/speceasy/pull/19/files#r6920848>
> .
>