Hello,
"Sam Marrocco" <(E-Mail Removed)> schrieb:
> Is there a way to prevent a conditional compiler directive from
> "disabling" my #region/End Region statements? If I surround a block of
> code that contains #region statements with an #if/#EndIf block, when the
> #if is false, all code folding/formatting dissapears, making the code
> very unreadable. Any suggestions?
I am able to reproduce that in VS .NET 2002 but I do not have a workaround.
I consider this to be a "bug". Even '#If...Then...#End If' blocks do not
show a "+" or "-" to toggle visibility.
Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet