Skip to content

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

@devhawk

Description

@devhawk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions