dotnetCampus.Required.Source 11.0.0

Suggested Alternatives

dotnetCampus.LatestCSharpFeatures

Additional Details

All the features in this package are provided by dotnetCampus.LatestCSharpFeatures. You can upgrade to that without any code changes.

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package dotnetCampus.Required.Source --version 11.0.0
NuGet\Install-Package dotnetCampus.Required.Source -Version 11.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="dotnetCampus.Required.Source" Version="11.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add dotnetCampus.Required.Source --version 11.0.0
#r "nuget: dotnetCampus.Required.Source, 11.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install dotnetCampus.Required.Source as a Cake Addin
#addin nuget:?package=dotnetCampus.Required.Source&version=11.0.0

// Install dotnetCampus.Required.Source as a Cake Tool
#tool nuget:?package=dotnetCampus.Required.Source&version=11.0.0

For C# 11.0 and newer. This package adds support for the 'required' keyword in your project, enforcing that fields or properties are initialized during object initialization. The types introduced are internal, meaning the 'required' functionality is limited to this project and won't propagate to referencing projects.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net7.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
12.0.0-alpha02 68 4/28/2024
11.0.0 99 4/27/2024
11.0.0-alpha03 123 6/7/2023
11.0.0-alpha02 116 6/6/2023
11.0.0-alpha01 119 6/2/2023
0.0.1-alpha01 120 6/1/2023