dotnetCampus.Required.Source 11.0.0-alpha03

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.

This is a prerelease version of dotnetCampus.Required.Source.
There is a newer version of this package available.
See the version list below for details.
dotnet add package dotnetCampus.Required.Source --version 11.0.0-alpha03
NuGet\Install-Package dotnetCampus.Required.Source -Version 11.0.0-alpha03
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-alpha03">
  <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-alpha03
#r "nuget: dotnetCampus.Required.Source, 11.0.0-alpha03"
#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-alpha03&prerelease

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

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 1.0

  • 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 69 4/28/2024
11.0.0 100 4/27/2024
11.0.0-alpha03 124 6/7/2023
11.0.0-alpha02 117 6/6/2023
11.0.0-alpha01 120 6/2/2023
0.0.1-alpha01 121 6/1/2023