ECMA-334 C# Language Specification9.5.6: Region control |
The region directives are used to explicitly mark regions of source code.
pp-start-region
conditional-section
opt pp-end-region
whitespace
opt #
whitespace
opt region
pp-message
whitespace
opt #
whitespace
opt endregion
pp-message
No semantic meaning is attached to a region; regions are intended for use by the programmer or by automated tools to mark a section of source code. The message specified in a #region
or #endregion
directive likewise has no semantic meaning; it merely serves to identify the region. Matching #region
and #endregion
directives may have different pp-message
s.
The lexical processing of a region:
#region ... #endregion |
#if true ... #endif |