summaryrefslogtreecommitdiff
path: root/Source/Core/CommandLineOptions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/CommandLineOptions.cs')
-rw-r--r--Source/Core/CommandLineOptions.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/CommandLineOptions.cs b/Source/Core/CommandLineOptions.cs
index 2fe78648..db7551ce 100644
--- a/Source/Core/CommandLineOptions.cs
+++ b/Source/Core/CommandLineOptions.cs
@@ -8,6 +8,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
+using System.Linq;
using System.Diagnostics;
using System.Diagnostics.Contracts;
@@ -1425,7 +1426,7 @@ namespace Microsoft.Boogie {
// no preference
return true;
}
- return Contract.Exists(ProcsToCheck, s => 0 <= methodFullname.IndexOf(s));
+ return ProcsToCheck.Any(s => 0 <= methodFullname.IndexOf(s));
}
public virtual StringCollection ParseNamedArgumentList(string argList) {