a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
351 B
C#
27 lines
351 B
C#
// Compiler options: -t:library
|
|
|
|
using System;
|
|
|
|
namespace TestNamespace
|
|
{
|
|
public abstract class Stream : IDisposable
|
|
{
|
|
public void Dispose ()
|
|
{
|
|
Dispose(true);
|
|
}
|
|
|
|
protected virtual void Dispose (bool disposing)
|
|
{
|
|
}
|
|
}
|
|
|
|
public class NonClosingStream
|
|
: TestNamespace.Stream, IDisposable
|
|
{
|
|
void IDisposable.Dispose()
|
|
{
|
|
}
|
|
}
|
|
}
|