dlebansais.CSharpLatest 0.0.7

dotnet add package dlebansais.CSharpLatest --version 0.0.7
NuGet\Install-Package dlebansais.CSharpLatest -Version 0.0.7
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="dlebansais.CSharpLatest" Version="0.0.7">
  <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 dlebansais.CSharpLatest --version 0.0.7
#r "nuget: dlebansais.CSharpLatest, 0.0.7"
#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 dlebansais.CSharpLatest as a Cake Addin
#addin nuget:?package=dlebansais.CSharpLatest&version=0.0.7

// Install dlebansais.CSharpLatest as a Cake Tool
#tool nuget:?package=dlebansais.CSharpLatest&version=0.0.7

CSharpLatest

Roslyn-based analysis of C# code to suggest the use of features in the latest version of the language.

How to install

To install this analyzer, in Visual Studio:

  • Open menu ToolsNuGet Package ManagerManage NuGet Packages for Solution. The NuGet - Solution window appears.
  • In the top right corner, make sure Package Source is selected to be either nuget.org or All.
  • Click the Browse tab and in the search prompt type CSharpLatest.
  • A list of packages appears, one one them called dlebansais.CSharpLatest.
  • Click to select this package and in the right pane check projects you want to be analyzed.
  • Click the Install button.

How to uninstall

To uninstall this analyzer, in Visual Studio:

  • Open menu ToolsNuGet Package ManagerManage NuGet Packages for Solution. The NuGet - Solution window appears.
  • Click to select the dlebansais.CSharpLatest package and in the right pane uncheck projects you no longer want to be analyzed.
  • Click the Uninstall button.

List of diagnostics

Code Diagnostic
CSL1000 Variables that are not modified should be made constants.
CSL1001 Use is null instead of == null
CSL1002 Use is not null instead of != null
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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
0.0.7 602 10/23/2023
0.0.6 171 10/22/2023
0.0.5 185 10/21/2023
0.0.4 137 10/21/2023
0.0.3.3 227 10/21/2023