System.IO.Directory.GetFiles. No definition for GetFiles?
<p>I wrote some code to get the files in a directory. In order to do this I used the Directory.GetFiles method. I've used it before, so I know it exists and works.</p>

<p>So I started using it (I'm using the System.IO namespace) and it tells me that 'System.IO.Directory' does not contain a definition for 'GetFiles'. Indeed, if I use the intellisense, there is no such method. <a href="http://msdn.microsoft.com/en-us/library/3hwtke0f.aspx" rel="nofollow">MSDN tells me that there is though</a>, and I know I've used it before, and I'm 99% sure it was System.IO.Directory.</p>

<p>I do have System.IO.Directory... it just doesn't have that method. It has methods like 'GetCreationTime', 'GetDirectoryRoot', 'GetLastAccessTime', 'SetCurrentDirectory' and so on, but no 'GetFiles'.</p>

<p>Can anyone offer any help?</p>
