Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-738-lib.cs
1 // Compiler options: -t:library
2
3 using System;
4
5 namespace TestNamespace
6 {
7         public abstract class Stream : IDisposable
8         {
9                 public void Dispose ()
10                 {
11                         Dispose(true);
12                 }
13
14                 protected virtual void Dispose (bool disposing)
15                 {
16                 }
17         }
18
19         public class NonClosingStream 
20                 : TestNamespace.Stream, IDisposable
21         {
22                 void  IDisposable.Dispose()
23                 {
24                 }
25         }
26 }