diff options
author | mikebarnett <unknown> | 2011-03-07 05:15:14 +0000 |
---|---|---|
committer | mikebarnett <unknown> | 2011-03-07 05:15:14 +0000 |
commit | 241de8264a32285d371a53d8d91a219625d76922 (patch) | |
tree | bde7c8c1dead587fc23a131810cf32779d7e9c8f /Source/AIFramework/Functional.cs | |
parent | 0cd15d2b78a68bcdc566b31d53287f63625560e7 (diff) |
Fix contracts so runtime checking can be turned on.
Diffstat (limited to 'Source/AIFramework/Functional.cs')
-rw-r--r-- | Source/AIFramework/Functional.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/AIFramework/Functional.cs b/Source/AIFramework/Functional.cs index 531ce94f..3b8237bf 100644 --- a/Source/AIFramework/Functional.cs +++ b/Source/AIFramework/Functional.cs @@ -111,7 +111,7 @@ namespace Microsoft.AbstractInterpretationFramework.Collections { object IFunctionalMap.this[object key] {
get {
- Contract.Ensures(Contract.Result<object>() != null);
+ Contract.Requires(key != null);
throw new System.NotImplementedException();
}
}
|