public void SimpleInterfaces()
{
TestIL ("types.il", module => {
var ibaz = module.GetType ("IBaz");
Assert.IsNotNull (ibaz);
Assert.IsTrue (ibaz.HasInterfaces);
var interfaces = ibaz.Interfaces;
Assert.AreEqual (2, interfaces.Count);
// Mono's ilasm and .NET's are ordering interfaces differently
Assert.IsNotNull (interfaces.Single (i => i.InterfaceType.FullName == "IBar"));
Assert.IsNotNull (interfaces.Single (i => i.InterfaceType.FullName == "IFoo"));
});
}