summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-09-20 20:58:01 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-09-20 20:58:01 -0700
commit58401eee26ed090ecf8dd10ec255c98ae416158a (patch)
tree13acf7ee2fccc1698ec1fdccbb50594b775aa647 /src/DotNetOpenAuth.OAuth2
parente16ccd8f96291b8aed65ba770490dd63a32d04e1 (diff)
downloadDotNetOpenAuth-58401eee26ed090ecf8dd10ec255c98ae416158a.zip
DotNetOpenAuth-58401eee26ed090ecf8dd10ec255c98ae416158a.tar.gz
DotNetOpenAuth-58401eee26ed090ecf8dd10ec255c98ae416158a.tar.bz2
Removed some lingering ccrewrite.exe dependent code.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2')
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
index 94df1a8..97a70c8 100644
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
+++ b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
@@ -124,7 +124,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
/// <param name="request">The request.</param>
/// <returns>The bearer access token, if one exists. Otherwise <c>null</c>.</returns>
private static string SearchForBearerAccessTokenInRequest(HttpRequestInfo request) {
- Contract.Requires<ArgumentNullException>(request != null, "request");
+ Requires.NotNull(request, "request");
// First search the authorization header.
string authorizationHeader = request.Headers[HttpRequestHeader.Authorization];