summary refs log tree commit diff
path: root/crypto/src/openpgp/IStreamGenerator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/openpgp/IStreamGenerator.cs')
-rw-r--r--crypto/src/openpgp/IStreamGenerator.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/openpgp/IStreamGenerator.cs b/crypto/src/openpgp/IStreamGenerator.cs
index df8ff75da..03df37158 100644
--- a/crypto/src/openpgp/IStreamGenerator.cs
+++ b/crypto/src/openpgp/IStreamGenerator.cs
@@ -3,7 +3,8 @@ using System;
 namespace Org.BouncyCastle.Bcpg.OpenPgp
 {
 	public interface IStreamGenerator
-		: IDisposable
 	{
+		[Obsolete("Dispose any opened Stream directly")]
+		void Close();
 	}
 }