diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-26 19:03:02 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-26 19:03:02 -0700 |
commit | 8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c (patch) | |
tree | 961144af2899cdd3bc58765c6148db12672af701 /src | |
parent | 243d992782d4a7018febe2679227af39d5a6a536 (diff) | |
download | DotNetOpenAuth-8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c.zip DotNetOpenAuth-8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c.tar.gz DotNetOpenAuth-8e3d5bb5d6e9cdfe6aa05394af082d142fcc9a0c.tar.bz2 |
Reverted unintentional changes.
Diffstat (limited to 'src')
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>(); - } } } |