Can't understand SecurityManager.IsGranted()
<p>I intentionally reduced the permission for a method to see whether IsGranted method works, but it doesn't. Here's my code:</p>

<pre><code>[FileIOPermission(SecurityAction.Deny, Read = "d:\\faz.txt")]
void aMethod()
{
  Console.WriteLine(SecurityManager.IsGranted(new 
    FileIOPermission(FileIOPermissionAccess.Read,"d:\\faz.txt")));

}
</code></pre>

<p>The method returns true even if the method never given that permission. Can some one please explain about this issue.</p>
