Why does the following produce a compiler error:
public interface OwnSession : ISession { }
[...]
OwnSession s = SessionFactory.OpenSession(); // compiler error (in german unfortunately)
[...]
"SessionFactory" returns a "ISession" on "OpenSession()" (NHibernate)