Example #1
0
        public void DFL_CommentLine()
        {
            CreateDefFileLoader(OsPath.Absolute("bar", "foo.def"), "; hello\r\n");
            TypeLibrary lib = dfl.Load(platform, new TypeLibrary());

            Assert.AreEqual(0, lib.Types.Count);
            Assert.AreEqual(0, lib.Signatures.Count);
        }
        public void DFL_CommentLine()
        {
            CreateDefFileLoader("c:\\bar\\foo.def", "; hello\r\n");
            TypeLibrary lib = dfl.Load();

            Assert.AreEqual(2, lib.Types.Count);
            Assert.AreEqual(0, lib.Signatures.Count);
        }