Syntax - Field declarations

  • Last updated: July 7, 2024

BaseFieldDeclaration inheritance

BaseFieldDeclarationSyntax is derived by:

  • EventFieldDeclarationSyntax
  • FieldDeclarationSyntax

All declarations have a Declaration with SemicolonToken trivia, in addition to AttributeList and Modifiers.

Event fields also have an EventKeyword trivia.

Field declarations have no additional attributes or trivia.