Allow F# compiler directives like #nowarn to span less than an entire file.
It would be nice to be able to issue compiler directives like #nowarn "25" and #light "off" for certain blocks of code and then be able to cancel the effect again later in the file with e.g. #warnon "25" and #light "on".
There is a new user voice site for managing suggestions specifically related to the F# language design. https://fslang.uservoice.com/forums/245727-general
Please move this item there and link back to this entry, as the Visual Studio User Voice site is best used for suggestions related to the Visual F# Tools (rather than the language itself).
Don Syme, for the Visual F# Tools team