diff options
Diffstat (limited to 'src')
4 files changed, 19 insertions, 19 deletions
diff --git a/src/DotNetOpenAuth.Messaging/Messaging/OutgoingWebResponse.cs b/src/DotNetOpenAuth.Messaging/Messaging/OutgoingWebResponse.cs index 59c0be7..003cac8 100644 --- a/src/DotNetOpenAuth.Messaging/Messaging/OutgoingWebResponse.cs +++ b/src/DotNetOpenAuth.Messaging/Messaging/OutgoingWebResponse.cs @@ -155,7 +155,7 @@ namespace DotNetOpenAuth.Messaging { /// Requires a current HttpContext. /// This call is not safe to make from an ASP.NET web form (.aspx file or code-behind) because /// ASP.NET will render HTML after the protocol message has been sent, which will corrupt the response. - /// Use the <see cref="Send"/> method instead for web forms. + /// Use the <see cref="Send()"/> method instead for web forms. /// </remarks> public virtual void Respond() { Requires.ValidState(HttpContext.Current != null && HttpContext.Current.Request != null, MessagingStrings.HttpContextRequired); @@ -174,7 +174,7 @@ namespace DotNetOpenAuth.Messaging { /// <remarks> /// This call is not safe to make from an ASP.NET web form (.aspx file or code-behind) because /// ASP.NET will render HTML after the protocol message has been sent, which will corrupt the response. - /// Use the <see cref="Send"/> method instead for web forms. + /// Use the <see cref="Send()"/> method instead for web forms. /// </remarks> public virtual void Respond(HttpContext context) { Requires.NotNull(context, "context"); diff --git a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs index 93fced6..6b78098 100644 --- a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs +++ b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs @@ -35,21 +35,21 @@ namespace DotNetOpenAuth.OpenId.Provider { private const string ApplicationStoreKey = "DotNetOpenAuth.OpenId.Provider.OpenIdProvider.ApplicationStore"; /// <summary> - /// A type initializer that ensures that another type initializer runs in order to guarantee that - /// types are serializable. + /// Backing store for the <see cref="Behaviors"/> property. /// </summary> - private static Identifier DummyIdentifierToInvokeStaticCtor = "http://localhost/"; + private readonly ObservableCollection<IProviderBehavior> behaviors = new ObservableCollection<IProviderBehavior>(); /// <summary> /// A type initializer that ensures that another type initializer runs in order to guarantee that /// types are serializable. /// </summary> - private static Realm DummyRealmToInvokeStaticCtor = "http://localhost/"; + private static Identifier dummyIdentifierToInvokeStaticCtor = "http://localhost/"; /// <summary> - /// Backing store for the <see cref="Behaviors"/> property. + /// A type initializer that ensures that another type initializer runs in order to guarantee that + /// types are serializable. /// </summary> - private readonly ObservableCollection<IProviderBehavior> behaviors = new ObservableCollection<IProviderBehavior>(); + private static Realm dummyRealmToInvokeStaticCtor = "http://localhost/"; /// <summary> /// Backing field for the <see cref="SecuritySettings"/> property. diff --git a/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/OpenIdRelyingParty.cs b/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/OpenIdRelyingParty.cs index 5040d2f..509e319 100644 --- a/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/OpenIdRelyingParty.cs +++ b/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/OpenIdRelyingParty.cs @@ -49,26 +49,26 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { private const string ApplicationStoreKey = "DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.HttpApplicationStore"; /// <summary> - /// A type initializer that ensures that another type initializer runs in order to guarantee that - /// types are serializable. + /// Backing store for the <see cref="Behaviors"/> property. /// </summary> - private static Identifier DummyIdentifierToInvokeStaticCtor = "http://localhost/"; + private readonly ObservableCollection<IRelyingPartyBehavior> behaviors = new ObservableCollection<IRelyingPartyBehavior>(); /// <summary> - /// A type initializer that ensures that another type initializer runs in order to guarantee that - /// types are serializable. + /// Backing field for the <see cref="DiscoveryServices"/> property. /// </summary> - private static Realm DummyRealmToInvokeStaticCtor = "http://localhost/"; + private readonly IList<IIdentifierDiscoveryService> discoveryServices = new List<IIdentifierDiscoveryService>(2); /// <summary> - /// Backing store for the <see cref="Behaviors"/> property. + /// A type initializer that ensures that another type initializer runs in order to guarantee that + /// types are serializable. /// </summary> - private readonly ObservableCollection<IRelyingPartyBehavior> behaviors = new ObservableCollection<IRelyingPartyBehavior>(); + private static Identifier dummyIdentifierToInvokeStaticCtor = "http://localhost/"; /// <summary> - /// Backing field for the <see cref="DiscoveryServices"/> property. + /// A type initializer that ensures that another type initializer runs in order to guarantee that + /// types are serializable. /// </summary> - private readonly IList<IIdentifierDiscoveryService> discoveryServices = new List<IIdentifierDiscoveryService>(2); + private static Realm dummyRealmToInvokeStaticCtor = "http://localhost/"; /// <summary> /// Backing field for the <see cref="NonVerifyingRelyingParty"/> property. diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs index 4655c30..dc2c29f 100644 --- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs +++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs @@ -29,7 +29,7 @@ namespace DotNetOpenAuth.Test.Mocks { this.OriginalMessage = message; } - [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Use the Respond method instead, and prepare for execution to continue on this page beyond the call to Respond.")] + [EditorBrowsable(EditorBrowsableState.Never)] public override void Send() { this.Respond(); } |