diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-01 21:16:29 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-01 21:16:29 -0800 |
commit | 5781c5567294660d803cccc61fb56378806a919f (patch) | |
tree | 03781d167b4ec48936fb20e68cdb5fc23fab55c6 /src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs | |
parent | c36bce9e0f0184ba4d60a8c3a375840d17d181d2 (diff) | |
parent | 55d6e4be43225184f9a656e6d9cc8fc1e8e7387b (diff) | |
download | DotNetOpenAuth-5781c5567294660d803cccc61fb56378806a919f.zip DotNetOpenAuth-5781c5567294660d803cccc61fb56378806a919f.tar.gz DotNetOpenAuth-5781c5567294660d803cccc61fb56378806a919f.tar.bz2 |
Merge branch 'master' into openidux
Conflicts:
src/DotNetOpenAuth.vsmdi
src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs
src/DotNetOpenAuth/OAuth/ServiceProvider.cs
src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs
src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyControlBase.cs
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs index 3cefe27..e862ca6 100644 --- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs +++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthChannel.cs @@ -6,6 +6,7 @@ namespace DotNetOpenAuth.Test.Mocks { using System; + using System.Diagnostics.Contracts; using System.Threading; using DotNetOpenAuth.Messaging; using DotNetOpenAuth.Messaging.Bindings; @@ -134,7 +135,7 @@ namespace DotNetOpenAuth.Test.Mocks { } private T CloneSerializedParts<T>(T message, HttpRequestInfo requestInfo) where T : class, IProtocolMessage { - ErrorUtilities.VerifyArgumentNotNull(message, "message"); + Contract.Requires<ArgumentNullException>(message != null); IProtocolMessage clonedMessage; var messageAccessor = this.MessageDescriptions.GetAccessor(message); |