diff options
Diffstat (limited to 'src')
3 files changed, 5 insertions, 1 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/Channel.cs b/src/DotNetOpenAuth.Core/Messaging/Channel.cs index 235c41b..2018801 100644 --- a/src/DotNetOpenAuth.Core/Messaging/Channel.cs +++ b/src/DotNetOpenAuth.Core/Messaging/Channel.cs @@ -1385,7 +1385,7 @@ namespace DotNetOpenAuth.Messaging { // Now sort the protection binding elements among themselves and add them to the list. orderedList.AddRange(protectionElements.OrderBy(element => element.Protection, BindingElementOutgoingMessageApplicationOrder)); - return orderedList; + return orderedList.AsEnumerable(); } /// <summary> 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 } } |