diff options
author | wuestholz <unknown> | 2015-01-09 15:20:21 +0100 |
---|---|---|
committer | wuestholz <unknown> | 2015-01-09 15:20:21 +0100 |
commit | c5842b1ea72fb20f7650fd7850566d76a39ffba4 (patch) | |
tree | f0f687ebdec24a53bc380fbeb360a082d05c8868 /Source/Core/VCExp.cs | |
parent | 0fad1c4a0580045c012ea0b0aed480d954646bd1 (diff) |
Made 2 invariants of class 'CommandLineOptions' robust by:
- making fields private
- exposing IEnumerables
- adding methods 'AddProverOption', 'RemoveAllProverOptions', and 'AddZ3Option'
(with help from David Rohr)
Diffstat (limited to 'Source/Core/VCExp.cs')
-rw-r--r-- | Source/Core/VCExp.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VCExp.cs b/Source/Core/VCExp.cs index 5a8100a7..87b8f3e6 100644 --- a/Source/Core/VCExp.cs +++ b/Source/Core/VCExp.cs @@ -81,7 +81,7 @@ The generic options may or may not be used by the prover plugin. }
}
- public virtual void Parse(List<string/*!*/>/*!*/ opts) {
+ public virtual void Parse(IEnumerable<string/*!*/>/*!*/ opts) {
Contract.Requires(cce.NonNullElements(opts));
StringBuilder sb = new StringBuilder(stringRepr);
Contract.Assert(sb != null);
|