'#Region' and '#End Region' statements are not valid within method bodies/multiline lambdas
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
#Region block must be declared at a class, module, or namespace level. A collapsible region can include one or more procedures, but it cannot begin or end inside of a procedure.
Error ID: BC32025
Ensure that the preceding procedure is properly terminated with an
Ensure that the
#End Regiondirectives are in the same code block.