B. Grammar

This appendix contains summaries of the lexical and syntactic grammars found in the main document, and of the grammar extensions for unsafe code. Grammar productions appear here in the same order that they appear in the main document.

B.1 Lexical Grammar

image

B.1.1 Line Terminators

new-line:    Carriage return character (U+000D)    Line feed character (U+000A)    Carriage return character (U+000D) followed by line feed character (U+000A)    Next line character (U+0085)    Line separator character (U+2028)    Paragraph separator character (U+2029)

B.1.2 Comments

B.1.3 White Space

whitespace:    Any character with Unicode class Zs ...

Get The C# Programming Language (Covering C# 4.0), Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.