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

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