diff options
Diffstat (limited to 'src/mscorlib/src/System/IDisposable.cs')
-rw-r--r-- | src/mscorlib/src/System/IDisposable.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mscorlib/src/System/IDisposable.cs b/src/mscorlib/src/System/IDisposable.cs index fcb65bea14..24f0740edc 100644 --- a/src/mscorlib/src/System/IDisposable.cs +++ b/src/mscorlib/src/System/IDisposable.cs @@ -11,7 +11,9 @@ ** ** ===========================================================*/ -namespace System { + +namespace System +{ // IDisposable is an attempt at helping to solve problems with deterministic // finalization. The GC of course doesn't leave any way to deterministically // know when a finalizer will run. This forces classes that hold onto OS @@ -51,8 +53,8 @@ namespace System { // data buffered by the StreamWriter cannot be written to the Stream. In this // case, it doesn't make much sense to provide a finalizer on the StreamWriter // since you cannot solve this problem correctly. -[System.Runtime.InteropServices.ComVisible(true)] - public interface IDisposable { + public interface IDisposable + { void Dispose(); } } |