summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-11-04 19:52:55 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-04 19:52:55 +0700
commit94ce0115017a8e36bfae253274ce0d804d928009 (patch)
tree42ea6057291ac35185e136e79922d7f5c47ae4c7
parentReplace Close with Dispose for PORTABLE (diff)
downloadBouncyCastle.NET-ed25519-94ce0115017a8e36bfae253274ce0d804d928009.tar.xz
Oops, fix method names
-rw-r--r--crypto/bzip2/src/CBZip2OutputStream.cs2
-rw-r--r--crypto/src/asn1/BEROctetStringGenerator.cs2
-rw-r--r--crypto/src/asn1/util/FilterStream.cs2
-rw-r--r--crypto/src/bcpg/ArmoredInputStream.cs2
-rw-r--r--crypto/src/bcpg/ArmoredOutputStream.cs2
-rw-r--r--crypto/src/bcpg/BcpgInputStream.cs2
-rw-r--r--crypto/src/bcpg/BcpgOutputStream.cs2
-rw-r--r--crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs2
-rw-r--r--crypto/src/cms/CMSCompressedDataStreamGenerator.cs2
-rw-r--r--crypto/src/cms/CMSEnvelopedDataStreamGenerator.cs2
-rw-r--r--crypto/src/cms/CMSSignedDataStreamGenerator.cs2
-rw-r--r--crypto/src/crypto/io/CipherStream.cs2
-rw-r--r--crypto/src/crypto/io/DigestStream.cs2
-rw-r--r--crypto/src/crypto/io/MacStream.cs2
-rw-r--r--crypto/src/crypto/io/SignerStream.cs2
-rw-r--r--crypto/src/crypto/operators/Asn1Signature.cs2
-rw-r--r--crypto/src/crypto/tls/ByteQueueStream.cs2
-rw-r--r--crypto/src/crypto/tls/TlsStream.cs2
-rw-r--r--crypto/src/openpgp/PgpCompressedDataGenerator.cs4
-rw-r--r--crypto/src/openpgp/WrappedGeneratorStream.cs2
-rw-r--r--crypto/src/util/io/BaseInputStream.cs2
-rw-r--r--crypto/src/util/io/BaseOutputStream.cs2
-rw-r--r--crypto/src/util/io/FilterStream.cs2
-rw-r--r--crypto/src/util/io/TeeInputStream.cs2
-rw-r--r--crypto/src/util/io/TeeOutputStream.cs2
-rw-r--r--crypto/src/util/zlib/ZDeflaterOutputStream.cs2
-rw-r--r--crypto/src/util/zlib/ZInflaterInputStream.cs2
-rw-r--r--crypto/src/util/zlib/ZInputStream.cs2
-rw-r--r--crypto/src/util/zlib/ZOutputStream.cs2
29 files changed, 30 insertions, 30 deletions
diff --git a/crypto/bzip2/src/CBZip2OutputStream.cs b/crypto/bzip2/src/CBZip2OutputStream.cs
index 15e816f3a..80b054c29 100644
--- a/crypto/bzip2/src/CBZip2OutputStream.cs
+++ b/crypto/bzip2/src/CBZip2OutputStream.cs
@@ -387,7 +387,7 @@ namespace Org.BouncyCastle.Apache.Bzip2
 //        }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/asn1/BEROctetStringGenerator.cs b/crypto/src/asn1/BEROctetStringGenerator.cs
index b2fbd47ae..f34538f38 100644
--- a/crypto/src/asn1/BEROctetStringGenerator.cs
+++ b/crypto/src/asn1/BEROctetStringGenerator.cs
@@ -103,7 +103,7 @@ namespace Org.BouncyCastle.Asn1
 			}
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
diff --git a/crypto/src/asn1/util/FilterStream.cs b/crypto/src/asn1/util/FilterStream.cs
index f7e8708f3..79aa883d0 100644
--- a/crypto/src/asn1/util/FilterStream.cs
+++ b/crypto/src/asn1/util/FilterStream.cs
@@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Asn1.Utilities
             set { s.Position = value; }
         }
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/bcpg/ArmoredInputStream.cs b/crypto/src/bcpg/ArmoredInputStream.cs
index cfbf819e0..d5d9f7ffb 100644
--- a/crypto/src/bcpg/ArmoredInputStream.cs
+++ b/crypto/src/bcpg/ArmoredInputStream.cs
@@ -505,7 +505,7 @@ namespace Org.BouncyCastle.Bcpg
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/bcpg/ArmoredOutputStream.cs b/crypto/src/bcpg/ArmoredOutputStream.cs
index 0f0d6896c..1f0e412d8 100644
--- a/crypto/src/bcpg/ArmoredOutputStream.cs
+++ b/crypto/src/bcpg/ArmoredOutputStream.cs
@@ -284,7 +284,7 @@ namespace Org.BouncyCastle.Bcpg
          * multiple objects using armoring to a single stream.
          */
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/bcpg/BcpgInputStream.cs b/crypto/src/bcpg/BcpgInputStream.cs
index 59dd548ca..f9627fde0 100644
--- a/crypto/src/bcpg/BcpgInputStream.cs
+++ b/crypto/src/bcpg/BcpgInputStream.cs
@@ -248,7 +248,7 @@ namespace Org.BouncyCastle.Bcpg
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/bcpg/BcpgOutputStream.cs b/crypto/src/bcpg/BcpgOutputStream.cs
index c786a8fc0..7ab661edb 100644
--- a/crypto/src/bcpg/BcpgOutputStream.cs
+++ b/crypto/src/bcpg/BcpgOutputStream.cs
@@ -381,7 +381,7 @@ namespace Org.BouncyCastle.Bcpg
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs b/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs
index 591e36f2d..f2dc340df 100644
--- a/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs
+++ b/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs
@@ -253,7 +253,7 @@ namespace Org.BouncyCastle.Cms
 			}
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
diff --git a/crypto/src/cms/CMSCompressedDataStreamGenerator.cs b/crypto/src/cms/CMSCompressedDataStreamGenerator.cs
index 1fb8da756..0cb1bb641 100644
--- a/crypto/src/cms/CMSCompressedDataStreamGenerator.cs
+++ b/crypto/src/cms/CMSCompressedDataStreamGenerator.cs
@@ -126,7 +126,7 @@ namespace Org.BouncyCastle.Cms
 			}
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
diff --git a/crypto/src/cms/CMSEnvelopedDataStreamGenerator.cs b/crypto/src/cms/CMSEnvelopedDataStreamGenerator.cs
index 264161b73..bde8d9926 100644
--- a/crypto/src/cms/CMSEnvelopedDataStreamGenerator.cs
+++ b/crypto/src/cms/CMSEnvelopedDataStreamGenerator.cs
@@ -256,7 +256,7 @@ namespace Org.BouncyCastle.Cms
 			}
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
diff --git a/crypto/src/cms/CMSSignedDataStreamGenerator.cs b/crypto/src/cms/CMSSignedDataStreamGenerator.cs
index 36e7a780c..1477d884f 100644
--- a/crypto/src/cms/CMSSignedDataStreamGenerator.cs
+++ b/crypto/src/cms/CMSSignedDataStreamGenerator.cs
@@ -810,7 +810,7 @@ namespace Org.BouncyCastle.Cms
             }
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
diff --git a/crypto/src/crypto/io/CipherStream.cs b/crypto/src/crypto/io/CipherStream.cs
index 273413ea0..4128b70f2 100644
--- a/crypto/src/crypto/io/CipherStream.cs
+++ b/crypto/src/crypto/io/CipherStream.cs
@@ -203,7 +203,7 @@ namespace Org.BouncyCastle.Crypto.IO
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/crypto/io/DigestStream.cs b/crypto/src/crypto/io/DigestStream.cs
index 3f5716d15..eadd7f684 100644
--- a/crypto/src/crypto/io/DigestStream.cs
+++ b/crypto/src/crypto/io/DigestStream.cs
@@ -113,7 +113,7 @@ namespace Org.BouncyCastle.Crypto.IO
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/crypto/io/MacStream.cs b/crypto/src/crypto/io/MacStream.cs
index f15e6d45a..6d306f9c5 100644
--- a/crypto/src/crypto/io/MacStream.cs
+++ b/crypto/src/crypto/io/MacStream.cs
@@ -112,7 +112,7 @@ namespace Org.BouncyCastle.Crypto.IO
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/crypto/io/SignerStream.cs b/crypto/src/crypto/io/SignerStream.cs
index b9fadfc77..7a7d8ea82 100644
--- a/crypto/src/crypto/io/SignerStream.cs
+++ b/crypto/src/crypto/io/SignerStream.cs
@@ -113,7 +113,7 @@ namespace Org.BouncyCastle.Crypto.IO
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/crypto/operators/Asn1Signature.cs b/crypto/src/crypto/operators/Asn1Signature.cs
index 311711e20..968ee0fad 100644
--- a/crypto/src/crypto/operators/Asn1Signature.cs
+++ b/crypto/src/crypto/operators/Asn1Signature.cs
@@ -304,7 +304,7 @@ namespace Org.BouncyCastle.Crypto.Operators
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
                 return;
diff --git a/crypto/src/crypto/tls/ByteQueueStream.cs b/crypto/src/crypto/tls/ByteQueueStream.cs
index 9a8ca7d92..1fc8a5d29 100644
--- a/crypto/src/crypto/tls/ByteQueueStream.cs
+++ b/crypto/src/crypto/tls/ByteQueueStream.cs
@@ -34,7 +34,7 @@ namespace Org.BouncyCastle.Crypto.Tls
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
                 return;
diff --git a/crypto/src/crypto/tls/TlsStream.cs b/crypto/src/crypto/tls/TlsStream.cs
index bc2201cdb..e11091c85 100644
--- a/crypto/src/crypto/tls/TlsStream.cs
+++ b/crypto/src/crypto/tls/TlsStream.cs
@@ -29,7 +29,7 @@ namespace Org.BouncyCastle.Crypto.Tls
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/openpgp/PgpCompressedDataGenerator.cs b/crypto/src/openpgp/PgpCompressedDataGenerator.cs
index ea366e0c6..2d20601f0 100644
--- a/crypto/src/openpgp/PgpCompressedDataGenerator.cs
+++ b/crypto/src/openpgp/PgpCompressedDataGenerator.cs
@@ -174,7 +174,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp
 			}
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
@@ -198,7 +198,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp
 			}
 
 #if PORTABLE
-            protected override void Disposing(bool disposing)
+            protected override void Dispose(bool disposing)
             {
                 if (disposing)
                 {
diff --git a/crypto/src/openpgp/WrappedGeneratorStream.cs b/crypto/src/openpgp/WrappedGeneratorStream.cs
index ffa199255..5f4a4b045 100644
--- a/crypto/src/openpgp/WrappedGeneratorStream.cs
+++ b/crypto/src/openpgp/WrappedGeneratorStream.cs
@@ -18,7 +18,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/io/BaseInputStream.cs b/crypto/src/util/io/BaseInputStream.cs
index 36725acd2..0a6e19307 100644
--- a/crypto/src/util/io/BaseInputStream.cs
+++ b/crypto/src/util/io/BaseInputStream.cs
@@ -13,7 +13,7 @@ namespace Org.BouncyCastle.Utilities.IO
         public sealed override bool CanWrite { get { return false; } }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/io/BaseOutputStream.cs b/crypto/src/util/io/BaseOutputStream.cs
index d85ae8ae4..0b6daa6a5 100644
--- a/crypto/src/util/io/BaseOutputStream.cs
+++ b/crypto/src/util/io/BaseOutputStream.cs
@@ -13,7 +13,7 @@ namespace Org.BouncyCastle.Utilities.IO
         public sealed override bool CanWrite { get { return !closed; } }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/io/FilterStream.cs b/crypto/src/util/io/FilterStream.cs
index be216254a..fe359de90 100644
--- a/crypto/src/util/io/FilterStream.cs
+++ b/crypto/src/util/io/FilterStream.cs
@@ -30,7 +30,7 @@ namespace Org.BouncyCastle.Utilities.IO
             set { s.Position = value; }
         }
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/io/TeeInputStream.cs b/crypto/src/util/io/TeeInputStream.cs
index 4b3203d71..e5fc10157 100644
--- a/crypto/src/util/io/TeeInputStream.cs
+++ b/crypto/src/util/io/TeeInputStream.cs
@@ -19,7 +19,7 @@ namespace Org.BouncyCastle.Utilities.IO
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/io/TeeOutputStream.cs b/crypto/src/util/io/TeeOutputStream.cs
index 7ad14a007..82407d9fa 100644
--- a/crypto/src/util/io/TeeOutputStream.cs
+++ b/crypto/src/util/io/TeeOutputStream.cs
@@ -19,7 +19,7 @@ namespace Org.BouncyCastle.Utilities.IO
 		}
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/zlib/ZDeflaterOutputStream.cs b/crypto/src/util/zlib/ZDeflaterOutputStream.cs
index 5a70df21d..99a4ebfbe 100644
--- a/crypto/src/util/zlib/ZDeflaterOutputStream.cs
+++ b/crypto/src/util/zlib/ZDeflaterOutputStream.cs
@@ -137,7 +137,7 @@ namespace Org.BouncyCastle.Utilities.Zlib {
         }
         
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/zlib/ZInflaterInputStream.cs b/crypto/src/util/zlib/ZInflaterInputStream.cs
index df51fc878..0f0999e86 100644
--- a/crypto/src/util/zlib/ZInflaterInputStream.cs
+++ b/crypto/src/util/zlib/ZInflaterInputStream.cs
@@ -115,7 +115,7 @@ namespace Org.BouncyCastle.Utilities.Zlib {
         }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/zlib/ZInputStream.cs b/crypto/src/util/zlib/ZInputStream.cs
index fe895a397..ee19af587 100644
--- a/crypto/src/util/zlib/ZInputStream.cs
+++ b/crypto/src/util/zlib/ZInputStream.cs
@@ -94,7 +94,7 @@ namespace Org.BouncyCastle.Utilities.Zlib
 		public sealed override bool CanWrite { get { return false; } }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {
diff --git a/crypto/src/util/zlib/ZOutputStream.cs b/crypto/src/util/zlib/ZOutputStream.cs
index ca59d8e1f..ede557135 100644
--- a/crypto/src/util/zlib/ZOutputStream.cs
+++ b/crypto/src/util/zlib/ZOutputStream.cs
@@ -96,7 +96,7 @@ namespace Org.BouncyCastle.Utilities.Zlib
         public sealed override bool CanWrite { get { return !closed; } }
 
 #if PORTABLE
-        protected override void Disposing(bool disposing)
+        protected override void Dispose(bool disposing)
         {
             if (disposing)
             {