diff options
author | tabarbe <unknown> | 2010-07-15 18:42:35 +0000 |
---|---|---|
committer | tabarbe <unknown> | 2010-07-15 18:42:35 +0000 |
commit | d7267cdd927726846ccc740c9e78ad0c29900914 (patch) | |
tree | 56863f85c5f9279e494b64b8ed5384b7ceb7638c /Source/Provers/Isabelle | |
parent | cc2f6a7e906a15ca7bc6878f412b68737331bb0c (diff) |
Boogie/Isabelle: Added tags of some places that generate errors when Code Contracts checking is on, that should resolve once Core ports
Diffstat (limited to 'Source/Provers/Isabelle')
-rw-r--r-- | Source/Provers/Isabelle/Prover.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Provers/Isabelle/Prover.cs b/Source/Provers/Isabelle/Prover.cs index b0860c00..3a87d7c9 100644 --- a/Source/Provers/Isabelle/Prover.cs +++ b/Source/Provers/Isabelle/Prover.cs @@ -74,14 +74,14 @@ namespace Microsoft.Boogie.Isabelle { private static int index = 0;
public override ProverOptions BlankProverOptions() {
- Contract.Ensures(Contract.Result<ProverOptions>() != null);
+ Contract.Ensures(Contract.Result<ProverOptions>() != null);//POSTCORE
return new IsabelleProverOptions();
}
public override object NewProverContext(ProverOptions options) {
Contract.Requires(options != null);
- Contract.Ensures(Contract.Result<object>() != null);
+ Contract.Ensures(Contract.Result<object>() != null);//POSTCORE
IsabelleProverOptions opts = (IsabelleProverOptions)options;
string filename = opts.Filename;
@@ -101,7 +101,7 @@ namespace Microsoft.Boogie.Isabelle { public override object SpawnProver(ProverOptions options, object ctxt) {
Contract.Requires(options != null);
Contract.Requires(ctxt != null);
- Contract.Ensures(Contract.Result<object>() != null);
+ Contract.Ensures(Contract.Result<object>() != null);//POSTCORE
return new IsabelleInterface(cce.NonNull((ProverContext)ctxt));
}
@@ -141,13 +141,13 @@ namespace Microsoft.Boogie.Isabelle { }
public override ProverContext Context {
get {
- Contract.Ensures(Contract.Result<ProverContext>() != null);
+ Contract.Ensures(Contract.Result<ProverContext>() != null);//POSTCORE
return ctxt;
}
}
public override VCExpressionGenerator VCExprGen {
get {
- Contract.Ensures(Contract.Result<VCExpressionGenerator>() != null);
+ Contract.Ensures(Contract.Result<VCExpressionGenerator>() != null);//POSTCORE
return cce.NonNull(ctxt.ExprGen);
}
}
@@ -200,7 +200,7 @@ namespace Microsoft.Boogie.Isabelle { }
public override object Clone() {
- Contract.Ensures(Contract.Result<object>() != null);
+ Contract.Ensures(Contract.Result<object>() != null);//POSTCORE
return this;
}
|