summaryrefslogtreecommitdiff
path: root/Source/Core/CommandLineOptions.cs
diff options
context:
space:
mode:
authorGravatar 0biha <unknown>2014-12-23 18:13:54 +0100
committerGravatar 0biha <unknown>2014-12-23 18:13:54 +0100
commit6c3fd5abc39f743443839b7d025af08722d81d5d (patch)
tree8976eccefa1d80ccd4aaf630fdb905043dd53dab /Source/Core/CommandLineOptions.cs
parente553e67fedb6d668bb5e9a3fabfaf387c64229a9 (diff)
Made invariant of class 'CommandLineOptions' robust by changing the design
(transformed class AiFlags into a struct).
Diffstat (limited to 'Source/Core/CommandLineOptions.cs')
-rw-r--r--Source/Core/CommandLineOptions.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/CommandLineOptions.cs b/Source/Core/CommandLineOptions.cs
index 503a4d0a..a4ef964c 100644
--- a/Source/Core/CommandLineOptions.cs
+++ b/Source/Core/CommandLineOptions.cs
@@ -703,10 +703,9 @@ namespace Microsoft.Boogie {
[ContractInvariantMethod]
void ObjectInvariant5() {
Contract.Invariant(cce.NonNullElements(ProcsToCheck, true));
- Contract.Invariant(Ai != null);
}
- public class AiFlags {
+ public struct AiFlags {
public bool J_Trivial = false;
public bool J_Intervals = false;
public bool DebugStatistics = false;