title: Is there a way to have warnings for shadowing values in F# in Visual Studio?
body: <p>To me shadowing of existing values like described in:</p>
  
  <p><a href="https://stackoverflow.com/questions/2478079/shadowing-and-nested-function">Shadowing and Nested function</a><br>
  <a href="https://stackoverflow.com/questions/11157358/immutable-in-f">immutable in F#</a><br>
  <a href="https://stackoverflow.com/questions/6063681/f-duplicate-definition?lq=1">f# duplicate definition</a><br>
  <a href="http://fsharpforfunandprofit.com/posts/organizing-functions/#comment-1096934623" rel="nofollow noreferrer">FSharp for fun and profit comment</a>  </p>
  
  <p>seems to be going against the notion of immutability and type safety that makes F# so strong. Shadowing in F# works <a href="http://coders-corner.net/2013/12/11/shadowing-function-parameters-with-local-variables/" rel="nofollow noreferrer">different</a> than in C#. It just took me quite some time to find out that a bug in my code was due to unintentional shadowing of a name within the same scope. Is there a way to have compiler warnings for shadowing values in VS? </p>
  
  <p>I know that in some cases it can be useful. for example for <a href="https://stackoverflow.com/questions/2271198/f-checked-arithmetics-scope">Checked Aritmetics</a> .</p>