summary refs log tree commit diff
path: root/crypto/src/asn1/DerT61String.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DerT61String.cs')
-rw-r--r--crypto/src/asn1/DerT61String.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerT61String.cs b/crypto/src/asn1/DerT61String.cs
index 4dee6f30c..746ccfe70 100644
--- a/crypto/src/asn1/DerT61String.cs
+++ b/crypto/src/asn1/DerT61String.cs
@@ -25,7 +25,7 @@ namespace Org.BouncyCastle.Asn1
                 return (DerT61String)obj;
             }
 
-            throw new ArgumentException("illegal object in GetInstance: " + obj.GetType().Name);
+            throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj));
         }
 
         /**