diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-10 13:28:46 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-10 13:28:46 +0700 |
commit | 9995dc06402d6dbe33862c151eab6150c4de14e5 (patch) | |
tree | c3c1ab51a7cdd8bbbda6d14411900ddea4666fab /crypto/src/util | |
parent | Remove unnecessary methods (diff) | |
download | BouncyCastle.NET-ed25519-9995dc06402d6dbe33862c151eab6150c4de14e5.tar.xz |
Refactor IDisposable implementations
Diffstat (limited to 'crypto/src/util')
-rw-r--r-- | crypto/src/util/io/pem/PemReader.cs | 2 | ||||
-rw-r--r-- | crypto/src/util/io/pem/PemWriter.cs | 2 |
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); } |