summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-06-08 07:40:37 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-06-08 07:40:37 -0700
commita34f614b60c483da245205f0f824c76340ad410a (patch)
treeb40a3a680fa47482f634ccc2a6e872bb5b2d90f0 /src
parenta42953f8d5b534398db60fcca690510b1ef80030 (diff)
downloadDotNetOpenAuth-a34f614b60c483da245205f0f824c76340ad410a.zip
DotNetOpenAuth-a34f614b60c483da245205f0f824c76340ad410a.tar.gz
DotNetOpenAuth-a34f614b60c483da245205f0f824c76340ad410a.tar.bz2
StyleCop fixes.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/AssociationHandshakeTests.cs2
-rw-r--r--src/DotNetOpenAuth/Configuration/MessagingElement.cs2
-rw-r--r--src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBaseContract.cs3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/AssociationHandshakeTests.cs b/src/DotNetOpenAuth.Test/OpenId/AssociationHandshakeTests.cs
index 1f95a46..8c2b5bd 100644
--- a/src/DotNetOpenAuth.Test/OpenId/AssociationHandshakeTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/AssociationHandshakeTests.cs
@@ -80,7 +80,7 @@ namespace DotNetOpenAuth.Test.OpenId {
op.SecuritySettings.MaximumHashBitLength = 160; // Force OP to reject HMAC-SHA256
// Receive initial request for an HMAC-SHA256 association.
- AutoResponsiveRequest req = (AutoResponsiveRequest) op.GetRequest();
+ AutoResponsiveRequest req = (AutoResponsiveRequest)op.GetRequest();
AutoResponsiveRequest_Accessor reqAccessor = AutoResponsiveRequest_Accessor.AttachShadow(req);
AssociateRequest associateRequest = (AssociateRequest)reqAccessor.RequestMessage;
Assert.AreEqual(protocol.Args.SignatureAlgorithm.HMAC_SHA256, associateRequest.AssociationType);
diff --git a/src/DotNetOpenAuth/Configuration/MessagingElement.cs b/src/DotNetOpenAuth/Configuration/MessagingElement.cs
index b49cecf..f130dbc 100644
--- a/src/DotNetOpenAuth/Configuration/MessagingElement.cs
+++ b/src/DotNetOpenAuth/Configuration/MessagingElement.cs
@@ -101,7 +101,7 @@ namespace DotNetOpenAuth.Configuration {
/// </remarks>
[ConfigurationProperty(StrictConfigName, DefaultValue = true)]
internal bool Strict {
- get { return (bool) this[StrictConfigName]; }
+ get { return (bool)this[StrictConfigName]; }
set { this[StrictConfigName] = value; }
}
diff --git a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBaseContract.cs b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBaseContract.cs
index 7b369c3..4ff52fd 100644
--- a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBaseContract.cs
+++ b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBaseContract.cs
@@ -15,8 +15,7 @@ namespace DotNetOpenAuth.OAuth.ChannelElements {
[ContractClassFor(typeof(SigningBindingElementBase))]
internal abstract class SigningBindingElementBaseContract : SigningBindingElementBase {
/// <summary>
- /// Prevents a default instance of the SigningBindingElementBaseContract
- /// class from being created.
+ /// Prevents a default instance of the SigningBindingElementBaseContract class from being created.
/// </summary>
private SigningBindingElementBaseContract()
: base(string.Empty) {