diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-10 10:42:01 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-10 10:42:01 -0800 |
commit | 5bd70111d5740844656aaed12206c9f28dd25923 (patch) | |
tree | 7f25810c5e6029dfdc0b491c58393fc8f76fcaf1 /src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs | |
parent | 6e68095c020f88f6c61b3a76f1fa885ead1e7f15 (diff) | |
download | DotNetOpenAuth-5bd70111d5740844656aaed12206c9f28dd25923.zip DotNetOpenAuth-5bd70111d5740844656aaed12206c9f28dd25923.tar.gz DotNetOpenAuth-5bd70111d5740844656aaed12206c9f28dd25923.tar.bz2 |
FxCop fixes and suppressions.
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs')
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs index bae3f82..4152f0a 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs @@ -6,6 +6,7 @@ namespace DotNetOpenAuth.AspNet.Clients { using System; + using System.Diagnostics.CodeAnalysis; using System.Web; using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OAuth; @@ -50,6 +51,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <param name="tokenManager"> /// The token Manager. /// </param> + [SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification = "I don't know how to ensure this rule is followed given this API")] protected OAuthClient( string providerName, ServiceProviderDescription serviceDescription, IConsumerTokenManager tokenManager) : this(providerName, new DotNetOpenAuthWebConsumer(serviceDescription, tokenManager)) {} |