diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-10 07:48:48 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-10 07:48:48 -0800 |
commit | 351ecb6678ec3cbd469bfa8076dfdc7aad83e987 (patch) | |
tree | 83bfc6d5ff5cddf7144cc85de5b4df755753b724 /samples/OAuthAuthorizationServer/Code/Client.cs | |
parent | 9615b7bd55edd2aac07a32a8f808c8fa2f5a6e85 (diff) | |
download | DotNetOpenAuth-351ecb6678ec3cbd469bfa8076dfdc7aad83e987.zip DotNetOpenAuth-351ecb6678ec3cbd469bfa8076dfdc7aad83e987.tar.gz DotNetOpenAuth-351ecb6678ec3cbd469bfa8076dfdc7aad83e987.tar.bz2 |
Applied all the StyleCop fixes necessary by the StyleCop 4.7 upgrade.
Diffstat (limited to 'samples/OAuthAuthorizationServer/Code/Client.cs')
-rw-r--r-- | samples/OAuthAuthorizationServer/Code/Client.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthAuthorizationServer/Code/Client.cs b/samples/OAuthAuthorizationServer/Code/Client.cs index d33dc3f..0013f27 100644 --- a/samples/OAuthAuthorizationServer/Code/Client.cs +++ b/samples/OAuthAuthorizationServer/Code/Client.cs @@ -52,7 +52,7 @@ // In this sample, it's enough of a callback URL match if the scheme and host match. // In a production app, it is advisable to require a match on the path as well. Uri acceptableCallbackPattern = new Uri(this.Callback); - if (String.Equals(acceptableCallbackPattern.GetLeftPart(UriPartial.Authority), callback.GetLeftPart(UriPartial.Authority), StringComparison.Ordinal)) { + if (string.Equals(acceptableCallbackPattern.GetLeftPart(UriPartial.Authority), callback.GetLeftPart(UriPartial.Authority), StringComparison.Ordinal)) { return true; } |