I have the following generic class, which depends on IBar:
IBar
public class Foo : IFoo { public Foo(IBar bar, int value) { }