summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-10 07:48:48 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-10 07:48:48 -0800
commit351ecb6678ec3cbd469bfa8076dfdc7aad83e987 (patch)
tree83bfc6d5ff5cddf7144cc85de5b4df755753b724 /samples/DotNetOpenAuth.ApplicationBlock
parent9615b7bd55edd2aac07a32a8f808c8fa2f5a6e85 (diff)
downloadDotNetOpenAuth-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/DotNetOpenAuth.ApplicationBlock')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookGraph.cs2
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/InMemoryTokenManager.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookGraph.cs b/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookGraph.cs
index 5b1591d..909ae9a 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookGraph.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookGraph.cs
@@ -36,7 +36,7 @@ namespace DotNetOpenAuth.ApplicationBlock.Facebook {
public string Birthday { get; set; }
public static FacebookGraph Deserialize(string json) {
- if (String.IsNullOrEmpty(json)) {
+ if (string.IsNullOrEmpty(json)) {
throw new ArgumentNullException("json");
}
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/InMemoryTokenManager.cs b/samples/DotNetOpenAuth.ApplicationBlock/InMemoryTokenManager.cs
index a4f6154..35f6c08 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/InMemoryTokenManager.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/InMemoryTokenManager.cs
@@ -31,7 +31,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
/// <param name="consumerKey">The consumer key.</param>
/// <param name="consumerSecret">The consumer secret.</param>
public InMemoryTokenManager(string consumerKey, string consumerSecret) {
- if (String.IsNullOrEmpty(consumerKey)) {
+ if (string.IsNullOrEmpty(consumerKey)) {
throw new ArgumentNullException("consumerKey");
}
@@ -136,7 +136,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
/// send a follow-up request for the access token.</para>
/// </remarks>
public void StoreOpenIdAuthorizedRequestToken(string consumerKey, AuthorizationApprovedResponse authorization) {
- this.tokensAndSecrets[authorization.RequestToken] = String.Empty;
+ this.tokensAndSecrets[authorization.RequestToken] = string.Empty;
}
#endregion