Esempio n. 1
0
        public static void XmlReaderDisposeWorksWithDerivingClasses()
        {
            MyXmlReader myreader = new MyXmlReader();

            Assert.False(myreader.IsDisposed);
            myreader.Dispose();
            Assert.True(myreader.IsDisposed);
        }
Esempio n. 2
0
 public static void XmlReaderDisposeWorksWithDerivingClasses()
 {
     MyXmlReader myreader = new MyXmlReader();
     Assert.False(myreader.IsDisposed);
     myreader.Dispose();
     Assert.True(myreader.IsDisposed);
 }