Net50.Preview6.FixMissingIsExternalInit 1.0.0

Install-Package Net50.Preview6.FixMissingIsExternalInit -Version 1.0.0
dotnet add package Net50.Preview6.FixMissingIsExternalInit --version 1.0.0
<PackageReference Include="Net50.Preview6.FixMissingIsExternalInit" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Net50.Preview6.FixMissingIsExternalInit --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Net50.Preview6.FixMissingIsExternalInit, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Net50.Preview6.FixMissingIsExternalInit as a Cake Addin
#addin nuget:?package=Net50.Preview6.FixMissingIsExternalInit&version=1.0.0

// Install Net50.Preview6.FixMissingIsExternalInit as a Cake Tool
#tool nuget:?package=Net50.Preview6.FixMissingIsExternalInit&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

About Net50.Preview6.FixMissingIsExternalInit

This library contains a workaround for an issue in .NET 5 Preview 6 where, when using records or init -only properties, compiler raises an error about not finding System.Runtime.CompilerServices.IsExternalInit

Remove this library from your project once it has a version that fixex this issue.

Compiler uses this class internally for records and init -only properties but it wasn't included in Preview 6. [github]

A fix to this issue has been merged to upcoming Preview 7. [github]

  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 295 7/5/2020