linux-packaging-mono/mcs/tests/test-738-lib.cs

27 lines
351 B
C#
Raw Normal View History

// 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()
{
}
}
}