summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-02-07 17:19:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-07 17:19:28 +0700
commitd4978555b33327c750d59dc2cf2aa9874d122964 (patch)
tree17db33a8f9afdab5e2de187fd0b8616679849715 /crypto/test
parentFix serial number comparison (diff)
downloadBouncyCastle.NET-ed25519-d4978555b33327c750d59dc2cf2aa9874d122964.tar.xz
Misc. refactoring
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/tls/test/NetworkStream.cs2
-rw-r--r--crypto/test/src/tls/test/PipedStream.cs2
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()