summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-04-26 19:03:02 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-04-26 19:03:02 -0700
commit8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c (patch)
tree961144af2899cdd3bc58765c6148db12672af701 /src
parent243d992782d4a7018febe2679227af39d5a6a536 (diff)
downloadDotNetOpenAuth-8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c.zip
DotNetOpenAuth-8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c.tar.gz
DotNetOpenAuth-8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c.tar.bz2
Reverted unintentional changes.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/DotNetOpenAuth.csproj3
-rw-r--r--src/DotNetOpenAuth/OpenId/Provider/AuthenticationRequest.cs3
-rw-r--r--src/DotNetOpenAuth/OpenId/Provider/IAuthenticationRequest.cs2
-rw-r--r--src/DotNetOpenAuth/OpenId/Provider/Request.cs11
4 files changed, 6 insertions, 13 deletions
diff --git a/src/DotNetOpenAuth/DotNetOpenAuth.csproj b/src/DotNetOpenAuth/DotNetOpenAuth.csproj
index a6069b4..2c30aaf 100644
--- a/src/DotNetOpenAuth/DotNetOpenAuth.csproj
+++ b/src/DotNetOpenAuth/DotNetOpenAuth.csproj
@@ -25,7 +25,7 @@
<DocumentationFile>..\..\bin\Debug\DotNetOpenAuth.xml</DocumentationFile>
<RunCodeAnalysis>false</RunCodeAnalysis>
<CodeAnalysisRules>-Microsoft.Design#CA1054;-Microsoft.Design#CA1056;-Microsoft.Design#CA1055</CodeAnalysisRules>
- <CodeContractsEnableRuntimeChecking>False</CodeContractsEnableRuntimeChecking>
+ <CodeContractsEnableRuntimeChecking>True</CodeContractsEnableRuntimeChecking>
<CodeContractsCustomRewriterAssembly>
</CodeContractsCustomRewriterAssembly>
<CodeContractsCustomRewriterClass>
@@ -47,7 +47,6 @@
<CodeContractsRunInBackground>True</CodeContractsRunInBackground>
<CodeContractsShowSquigglies>True</CodeContractsShowSquigglies>
<CodeContractsArithmeticObligations>False</CodeContractsArithmeticObligations>
- <CodeContractsRuntimeOnlyPublicSurface>False</CodeContractsRuntimeOnlyPublicSurface>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
diff --git a/src/DotNetOpenAuth/OpenId/Provider/AuthenticationRequest.cs b/src/DotNetOpenAuth/OpenId/Provider/AuthenticationRequest.cs
index e388737..34ade49 100644
--- a/src/DotNetOpenAuth/OpenId/Provider/AuthenticationRequest.cs
+++ b/src/DotNetOpenAuth/OpenId/Provider/AuthenticationRequest.cs
@@ -6,7 +6,10 @@
namespace DotNetOpenAuth.OpenId.Provider {
using System;
+ using System.Collections.Generic;
+ using System.Linq;
using System.Net;
+ using System.Text;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OpenId.Messages;
diff --git a/src/DotNetOpenAuth/OpenId/Provider/IAuthenticationRequest.cs b/src/DotNetOpenAuth/OpenId/Provider/IAuthenticationRequest.cs
index cd2a2b0..b1ef269 100644
--- a/src/DotNetOpenAuth/OpenId/Provider/IAuthenticationRequest.cs
+++ b/src/DotNetOpenAuth/OpenId/Provider/IAuthenticationRequest.cs
@@ -6,6 +6,8 @@
namespace DotNetOpenAuth.OpenId.Provider {
using System;
+ using System.Collections.Generic;
+ using System.Text;
using DotNetOpenAuth.Messaging;
/// <summary>
diff --git a/src/DotNetOpenAuth/OpenId/Provider/Request.cs b/src/DotNetOpenAuth/OpenId/Provider/Request.cs
index 9d50584..1c5ad02 100644
--- a/src/DotNetOpenAuth/OpenId/Provider/Request.cs
+++ b/src/DotNetOpenAuth/OpenId/Provider/Request.cs
@@ -190,16 +190,5 @@ namespace DotNetOpenAuth.OpenId.Provider {
}
#endregion
-
- /// <summary>
- /// Gets a response extension that may be pending for transmission in the response message.
- /// </summary>
- /// <typeparam name="T">The type of extension being sought.</typeparam>
- /// <returns>The extension(s) that match the given type; or <c>null</c> if none of the given type was added.</returns>
- protected IEnumerable<T> GetResponseExtension<T>() where T : IOpenIdMessageExtension {
- // Technically an extension should never show up twice.... but T might be
- // a base class or interface that matches more than one extension.
- return this.responseExtensions.OfType<T>();
- }
}
}