Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.31 KB

VERSIONING.md

File metadata and controls

36 lines (23 loc) · 1.31 KB

Version Scheme for ExhaustiveMatching.Analyzer

Relevant Features in C# Language Versions

Each version of the C# language adds many new features, but most have no impact on the ExhaustiveMatching.Analyzer. This section lists which new features in each version in some way impact exhaustive matching and necessitate a newer version of the package to support.

C# 6

NOTE: C# 6 is the oldest version of the language supported by Roslyn Analyzers and consequently the oldest version supported by ExhaustiveMatching.Analyzer. The features listed here may have been introduced before C# 6, but represent the basic level of support.

  • switch Statements
  • InvalidEnumArgumentException
  • ArgumentOutOfRangeException
  • InvalidOperationException

C# 7.0

C# 8

  • switch Expressions

C# 9

C# 10

  • Record Structs