diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-07 17:19:28 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-07 17:19:28 +0700 |
commit | d4978555b33327c750d59dc2cf2aa9874d122964 (patch) | |
tree | 17db33a8f9afdab5e2de187fd0b8616679849715 /crypto/test | |
parent | Fix serial number comparison (diff) | |
download | BouncyCastle.NET-ed25519-d4978555b33327c750d59dc2cf2aa9874d122964.tar.xz |
Misc. refactoring
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/tls/test/NetworkStream.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/tls/test/PipedStream.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/tls/test/NetworkStream.cs b/crypto/test/src/tls/test/NetworkStream.cs index ed1b21014..013c27a12 100644 --- a/crypto/test/src/tls/test/NetworkStream.cs +++ b/crypto/test/src/tls/test/NetworkStream.cs @@ -97,7 +97,7 @@ namespace Org.BouncyCastle.Tls.Tests lock (this) { if (m_closed) - throw new ObjectDisposedException(this.GetType().Name); + throw new ObjectDisposedException(GetType().FullName); } } } diff --git a/crypto/test/src/tls/test/PipedStream.cs b/crypto/test/src/tls/test/PipedStream.cs index 95c3de465..82cd352af 100644 --- a/crypto/test/src/tls/test/PipedStream.cs +++ b/crypto/test/src/tls/test/PipedStream.cs @@ -126,7 +126,7 @@ namespace Org.BouncyCastle.Tls.Tests private void CheckOpen() { if (m_closed) - throw new ObjectDisposedException(this.GetType().Name); + throw new ObjectDisposedException(GetType().FullName); } private void WaitForData() |