Foreword

This specification replaces ECMA-334:2017. Changes from the previous edition include the addition of the following:

  • Automatically implemented property initializers
  • await in catch and finally blocks
  • Exception filters
  • Expression-bodied function members
  • Extension Add methods in collection initializers
  • Improved overload resolution
  • Initialization of an accessible indexer
  • Initialization of associative collections using indexers
  • Interpolated strings
  • nameof operator
  • Null-conditional access operators ?. and ?[]
  • Read-only auto-properties
  • Relaxed rules for auto-properties
  • using static

All grammar is now expressed using ANTLR notation.