Esempio n. 1
0
        public void TestCase()
        {
            var type   = GetTypeDef <TestClassWithInterfaces> ();
            var ifaces = DocUtils.GetAllPublicInterfaces(type).ToArray();

            Assert.AreEqual(3, ifaces.Count());
            Assert.AreEqual("I2", ifaces[0].Name);
            Assert.AreEqual("ICombined", ifaces[1].Name);
            Assert.AreEqual("I1", ifaces[2].Name);
        }