summary refs log tree commit diff
path: root/crypto/src/asn1/x509/DistributionPointName.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/x509/DistributionPointName.cs')
-rw-r--r--crypto/src/asn1/x509/DistributionPointName.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/x509/DistributionPointName.cs b/crypto/src/asn1/x509/DistributionPointName.cs
index 1a9d24241..43fdaf533 100644
--- a/crypto/src/asn1/x509/DistributionPointName.cs
+++ b/crypto/src/asn1/x509/DistributionPointName.cs
@@ -43,7 +43,7 @@ namespace Org.BouncyCastle.Asn1.X509
                 return new DistributionPointName((Asn1TaggedObject) obj);
             }
 
-			throw new ArgumentException("unknown object in factory: " + obj.GetType().Name, "obj");
+            throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj");
 		}
 
         public DistributionPointName(