title: Regex Class - Assembly Reference Missing?
body: <p>I'm defining a new class. Two issues:</p>
  
  <pre><code>Match m = Regex.Match(text, pattern, RegexOptions.IgnoreCase, TimeSpan.FromSeconds(1));
  </code></pre>
  
  <p>Gives this error: "No overload for method 'Match' takes 4 arguments". But the MSDN defines this with 4 args. </p>
  
  <pre><code>catch (RegexMatchTimeoutException)
  </code></pre>
  
  <p>Gives this error: "The type or namespace name 'RegexMatchTimeoutException' could not be found (are you missing a using directive or an assembly reference?)"</p>
  
  <p>My using directives:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Text.RegularExpressions;
  </code></pre>
  
  <p>I'm running VS2008Express with .NET4.5</p>