Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit to #region nesting?
Message
De
09/09/2011 17:32:40
 
 
À
09/09/2011 17:15:38
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01523118
Message ID:
01523119
Vues:
45
A little futzing revealed the answer:

When I put all of the child #endregions within the curly brace that teminates the class, alll was well.

>>I have a large class with a lot of methods (I probably will break it up the next time I add to it) and I have used #region foomethods / #endregion pairs to make it more readable.
When I nest more than 4 pairs in a parent pair, the class compiles OK but the - and + marks don't appear on the 5th region and I can't expand or collapse it.
Is that a limit or am I doing something odd again?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform