diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-20 07:41:13 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-20 07:41:13 -0700 |
commit | e453e97eb5f6acd171acfaef8afeba3be709aded (patch) | |
tree | a2a48fc0a8ed06dec98329ec70ee1a37c8996292 /src | |
parent | b1553e3d9fd42bbfe043ed37b0db79599a2f62fd (diff) | |
download | DotNetOpenAuth-e453e97eb5f6acd171acfaef8afeba3be709aded.zip DotNetOpenAuth-e453e97eb5f6acd171acfaef8afeba3be709aded.tar.gz DotNetOpenAuth-e453e97eb5f6acd171acfaef8afeba3be709aded.tar.bz2 |
FxCop now runs clean in v3.0 branch.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/GlobalSuppressions.cs | 1 | ||||
-rw-r--r-- | src/DotNetOpenAuth/Messaging/Reflection/MessageDescriptionCollection.cs | 3 | ||||
-rw-r--r-- | src/DotNetOpenAuth/OAuth/ConsumerBase.cs | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/GlobalSuppressions.cs b/src/DotNetOpenAuth/GlobalSuppressions.cs index 6e9c87b..b05a879 100644 --- a/src/DotNetOpenAuth/GlobalSuppressions.cs +++ b/src/DotNetOpenAuth/GlobalSuppressions.cs @@ -40,3 +40,4 @@ [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "DotNetOpenAuth.OpenId.Messages")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "DotNetOpenAuth.OpenId.Extensions.ProviderAuthenticationPolicy")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames", Justification = "We sign it when producing drops.")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "DotNetOpenAuth.Messaging.Reflection")] diff --git a/src/DotNetOpenAuth/Messaging/Reflection/MessageDescriptionCollection.cs b/src/DotNetOpenAuth/Messaging/Reflection/MessageDescriptionCollection.cs index 3b2f7c5..9af4bdf 100644 --- a/src/DotNetOpenAuth/Messaging/Reflection/MessageDescriptionCollection.cs +++ b/src/DotNetOpenAuth/Messaging/Reflection/MessageDescriptionCollection.cs @@ -7,6 +7,7 @@ namespace DotNetOpenAuth.Messaging.Reflection { using System; using System.Collections.Generic; + using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; /// <summary> @@ -113,6 +114,7 @@ namespace DotNetOpenAuth.Messaging.Reflection { /// <summary> /// Gets the message type. /// </summary> + [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Exposes basic identity on the type.")] internal Type Type { get { return this.type; } } @@ -120,6 +122,7 @@ namespace DotNetOpenAuth.Messaging.Reflection { /// <summary> /// Gets the message version. /// </summary> + [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Exposes basic identity on the type.")] internal Version Version { get { return this.version; } } diff --git a/src/DotNetOpenAuth/OAuth/ConsumerBase.cs b/src/DotNetOpenAuth/OAuth/ConsumerBase.cs index c5760ea..2392172 100644 --- a/src/DotNetOpenAuth/OAuth/ConsumerBase.cs +++ b/src/DotNetOpenAuth/OAuth/ConsumerBase.cs @@ -121,6 +121,7 @@ namespace DotNetOpenAuth.OAuth { /// that includes an entity body, the request stream is automatically sent /// if and only if the <see cref="IMessage.ExtraData"/> dictionary is non-empty. /// </remarks> + [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "Type of parameter forces the method to apply only to specific scenario.")] public HttpWebRequest PrepareAuthorizedRequest(AccessProtectedResourceRequest message) { Contract.Requires(message != null); ErrorUtilities.VerifyArgumentNotNull(message, "message"); |