summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-02-02 05:39:33 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-02-02 05:39:33 -0800
commitdfa6d41368c85195fe2603eab4e3d6e7f2b7de9f (patch)
tree3e743c15b1332d8b42a08ad0e1fd252225e2a4a9 /src
parentf68818a5c25a3e86903516756116ac51007917cd (diff)
downloadDotNetOpenAuth-dfa6d41368c85195fe2603eab4e3d6e7f2b7de9f.zip
DotNetOpenAuth-dfa6d41368c85195fe2603eab4e3d6e7f2b7de9f.tar.gz
DotNetOpenAuth-dfa6d41368c85195fe2603eab4e3d6e7f2b7de9f.tar.bz2
Fixed build break due to code contract validation.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/OpenId/Identifier.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Identifier.cs b/src/DotNetOpenAuth/OpenId/Identifier.cs
index dfbcb7c..831dfa9 100644
--- a/src/DotNetOpenAuth/OpenId/Identifier.cs
+++ b/src/DotNetOpenAuth/OpenId/Identifier.cs
@@ -100,7 +100,7 @@ namespace DotNetOpenAuth.OpenId {
[SuppressMessage("Microsoft.Usage", "CA2225:OperatorOverloadsHaveNamedAlternates", Justification = "We have a Parse function.")]
[DebuggerStepThrough]
public static implicit operator string(Identifier identifier) {
- Contract.Ensures((identifier == null) == (Contract.Result<Identifier>() == null));
+ Contract.Ensures((identifier == null) == (Contract.Result<string>() == null));
if (identifier == null) {
return null;
}