A source code only package which allows you to use C# 9's init and record features in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework by providing a polyfill for the IsExternalInit class.
This package does not contain any compiled binaries, but instead adds the...
More information
C# source code only package which allows you to use C# 9.0's 'init only setters' feature targeting frameworks older than net5.0.
This package generats a polyfill type to resolve "Error CS0518 - Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported".
给SDK-Style,同时.Net版本低于.NetCore3.0的项目提供C#8.0的Index和Range特性。
To SDK style, at the same time .Net version is lower than NetCore3.0 project provides the index and range features of C#8.0.
给SDK-Style,同时.Net版本低于.Net5的项目提供C#9.0的init和record特性。
To SDK style, at the same time Net version is lower than The Net5.0 project provides the init and record features of C#9.0.