summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-11 20:22:51 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-11 20:22:51 -0700
commit5048e8556ec74bc2cf6dc85a609d911c3a767e0a (patch)
treed6278e35888351c6b4f4e000b70afa5b9827293b /src
parent0b7f0bf7f67d1d80c8a8d4ed9ee3ddae50b89e70 (diff)
downloadDotNetOpenAuth-5048e8556ec74bc2cf6dc85a609d911c3a767e0a.zip
DotNetOpenAuth-5048e8556ec74bc2cf6dc85a609d911c3a767e0a.tar.gz
DotNetOpenAuth-5048e8556ec74bc2cf6dc85a609d911c3a767e0a.tar.bz2
Fixed FxCop message.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs b/src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs
index 4616edc..2bd09ec 100644
--- a/src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs
+++ b/src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs
@@ -34,6 +34,11 @@ namespace DotNetOpenAuth.Messaging {
private NameValueCollection queryString;
/// <summary>
+ /// Backing field for the <see cref="Message"/> property.
+ /// </summary>
+ private IDirectedProtocolMessage message;
+
+ /// <summary>
/// Initializes a new instance of the <see cref="HttpRequestInfo"/> class.
/// </summary>
/// <param name="request">The ASP.NET structure to copy from.</param>
@@ -130,7 +135,7 @@ namespace DotNetOpenAuth.Messaging {
/// <param name="message">The message being passed in through a mock transport. May be null.</param>
/// <param name="httpMethod">The HTTP method that the incoming request came in on, whether or not <paramref name="message"/> is null.</param>
internal HttpRequestInfo(IDirectedProtocolMessage message, HttpDeliveryMethods httpMethod) {
- this.Message = message;
+ this.message = message;
if ((httpMethod & HttpDeliveryMethods.GetRequest) != 0) {
this.HttpMethod = "GET";
} else if ((httpMethod & HttpDeliveryMethods.PostRequest) != 0) {
@@ -141,7 +146,10 @@ namespace DotNetOpenAuth.Messaging {
/// <summary>
/// Gets or sets the message that is being sent over a mock transport (for testing).
/// </summary>
- internal virtual IDirectedProtocolMessage Message { get; set; }
+ internal virtual IDirectedProtocolMessage Message {
+ get { return this.message; }
+ set { this.message = value; }
+ }
/// <summary>
/// Gets or sets the verb in the request (i.e. GET, POST, etc.)