Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BuildTools being compiled with C# 10 instead of 7.3 #40

Open
devhawk opened this issue Nov 3, 2022 · 1 comment
Open

BuildTools being compiled with C# 10 instead of 7.3 #40

devhawk opened this issue Nov 3, 2022 · 1 comment

Comments

@devhawk
Copy link
Contributor

devhawk commented Nov 3, 2022

BuildTools targets .NET Framework 4.72 and .NET Standard 2.0. The latest supported version of C# that targets these .NET frameworks is 7.3. However, this repo specifies C# 10 in the src/Directory.Build.props file.

Build Tools is currently using a few C# 8 and above features

  • local functions
  • switch expression
  • nullable reference types
  • 'is not null' patterns
  • target-typed object creation
  • record struct
  • declaring a type inside an interface
@devhawk
Copy link
Contributor Author

devhawk commented Mar 7, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant