summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Mocks/TestMessage.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-10-23 19:52:59 -0700
committerAndrew <andrewarnott@gmail.com>2008-10-23 19:52:59 -0700
commit38c7d25878550429583558f5c907e34fb094fb68 (patch)
treec6edc9ee32d6d2031202040ac18cd2d288b3bb83 /src/DotNetOAuth.Test/Mocks/TestMessage.cs
parent7ba9649126a7b802e348fbe210383fabc2898659 (diff)
downloadDotNetOpenAuth-38c7d25878550429583558f5c907e34fb094fb68.zip
DotNetOpenAuth-38c7d25878550429583558f5c907e34fb094fb68.tar.gz
DotNetOpenAuth-38c7d25878550429583558f5c907e34fb094fb68.tar.bz2
Applied FxCop fixes.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestMessage.cs')
-rw-r--r--src/DotNetOAuth.Test/Mocks/TestMessage.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestMessage.cs b/src/DotNetOAuth.Test/Mocks/TestMessage.cs
index 33086f8..0cb331c 100644
--- a/src/DotNetOAuth.Test/Mocks/TestMessage.cs
+++ b/src/DotNetOAuth.Test/Mocks/TestMessage.cs
@@ -23,13 +23,13 @@ namespace DotNetOAuth.Test.Mocks {
this.transport = transport;
}
- [MessagePart(Name = "age", IsRequired = true)]
+ [MessagePart("age", IsRequired = true)]
public int Age { get; set; }
[MessagePart("Name")]
public string Name { get; set; }
[MessagePart]
public string EmptyMember { get; set; }
- [MessagePart(Name = null)] // null name tests that Location is still the name.
+ [MessagePart(null)] // null name tests that Location is still the name.
public Uri Location { get; set; }
[MessagePart(IsRequired = true)]
public DateTime Timestamp { get; set; }
@@ -40,8 +40,8 @@ namespace DotNetOAuth.Test.Mocks {
get { return new Version(1, 0); }
}
- MessageProtection IProtocolMessage.RequiredProtection {
- get { return MessageProtection.None; }
+ MessageProtections IProtocolMessage.RequiredProtection {
+ get { return MessageProtections.None; }
}
MessageTransport IProtocolMessage.Transport {