summary refs log tree commit diff
path: root/crypto/src/util
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-03-10 13:28:46 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-03-10 13:28:46 +0700
commit9995dc06402d6dbe33862c151eab6150c4de14e5 (patch)
treec3c1ab51a7cdd8bbbda6d14411900ddea4666fab /crypto/src/util
parentRemove unnecessary methods (diff)
downloadBouncyCastle.NET-ed25519-9995dc06402d6dbe33862c151eab6150c4de14e5.tar.xz
Refactor IDisposable implementations
Diffstat (limited to 'crypto/src/util')
-rw-r--r--crypto/src/util/io/pem/PemReader.cs2
-rw-r--r--crypto/src/util/io/pem/PemWriter.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/util/io/pem/PemReader.cs b/crypto/src/util/io/pem/PemReader.cs
index 6e27a3749..a10aaa257 100644
--- a/crypto/src/util/io/pem/PemReader.cs
+++ b/crypto/src/util/io/pem/PemReader.cs
@@ -28,7 +28,7 @@ namespace Org.BouncyCastle.Utilities.IO.Pem
 
         public void Dispose()
         {
-            Dispose(true);
+            Dispose(disposing: true);
             GC.SuppressFinalize(this);
         }
 
diff --git a/crypto/src/util/io/pem/PemWriter.cs b/crypto/src/util/io/pem/PemWriter.cs
index ce7b38821..179f1c127 100644
--- a/crypto/src/util/io/pem/PemWriter.cs
+++ b/crypto/src/util/io/pem/PemWriter.cs
@@ -32,7 +32,7 @@ namespace Org.BouncyCastle.Utilities.IO.Pem
 
         public void Dispose()
         {
-            Dispose(true);
+            Dispose(disposing: true);
             GC.SuppressFinalize(this);
         }