Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 9 Lexical structureprevious at this levelnext at this level 9.5 Pre-processing directivesprevious at this levelnext at this level 9.5.6 Region control Paragraph 11 The region directives are used to explicitly mark regions of source code. pp-region :: pp-start-region conditional-sectionopt pp-end-region pp-start-region :: whitespaceopt # whitespaceopt region pp-message pp-end-region :: whitespaceopt # whitespaceopt endregion pp-message Paragraph 21 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. 2 The message specified in a #region or #endregion directive likewise has no semantic meaning; it merely serves to identify the region. 3 Matching #region and #endregion directives may have different pp-messages. Paragraph 31 The lexical processing of a region:
#region  
...  
#endregion  
corresponds exactly to the lexical processing of a conditional compilation directive of the form:
#if true  
...  
#endif  
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS