diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-21 14:46:39 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-21 14:46:39 -0700 |
commit | 2c2b114c1f1142120694273f1dbdf42f0462b9c2 (patch) | |
tree | a3de4507d437b85e5f462f7c17918a4c2d5c7c74 /src | |
parent | 2b5cf309d8878487e2085d88ff20e9142f8624bb (diff) | |
download | DotNetOpenAuth-2c2b114c1f1142120694273f1dbdf42f0462b9c2.zip DotNetOpenAuth-2c2b114c1f1142120694273f1dbdf42f0462b9c2.tar.gz DotNetOpenAuth-2c2b114c1f1142120694273f1dbdf42f0462b9c2.tar.bz2 |
Removed unimplemented Exception.GetObjectData override methods.
They weren't implemented anyway, and seem to be causing trouble with certain CLR 4 hosters (like Rackspace).
Fixes #121
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/Bindings/CryptoKeyCollisionException.cs | 2 | ||||
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/Bindings/CryptoKeyCollisionException.cs b/src/DotNetOpenAuth.Core/Messaging/Bindings/CryptoKeyCollisionException.cs index 980878d..1fe4493 100644 --- a/src/DotNetOpenAuth.Core/Messaging/Bindings/CryptoKeyCollisionException.cs +++ b/src/DotNetOpenAuth.Core/Messaging/Bindings/CryptoKeyCollisionException.cs @@ -43,6 +43,7 @@ namespace DotNetOpenAuth.Messaging.Bindings { throw new NotImplementedException(); } +#if false /// <summary> /// When overridden in a derived class, sets the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> with information about the exception. /// </summary> @@ -64,5 +65,6 @@ namespace DotNetOpenAuth.Messaging.Bindings { base.GetObjectData(info, context); throw new NotImplementedException(); } +#endif } } diff --git a/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs b/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs index 721d528..e26d15e 100644 --- a/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs +++ b/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs @@ -68,6 +68,7 @@ namespace DotNetOpenAuth.Messaging { /// </summary> internal IProtocolMessage FaultedMessage { get; private set; } +#if false /// <summary> /// When overridden in a derived class, sets the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> with information about the exception. /// </summary> @@ -89,5 +90,6 @@ namespace DotNetOpenAuth.Messaging { base.GetObjectData(info, context); throw new NotImplementedException(); } +#endif } } |