Is there a way to get the following function declaration?
public bool Foo() where T : interface;
ie. where T is an interface type
I know this is a bit late but for those that are interested you can use a runtime check.
typeof(T).IsInterface