dlebansais.CSharpLatest
1.0.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package dlebansais.CSharpLatest --version 1.0.7
NuGet\Install-Package dlebansais.CSharpLatest -Version 1.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="1.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 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: dlebansais.CSharpLatest, 1.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=1.0.7 // Install dlebansais.CSharpLatest as a Cake Tool #tool nuget:?package=dlebansais.CSharpLatest&version=1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
Tools
→NuGet Package Manager
→Manage NuGet Packages for Solution
. TheNuGet - Solution
window appears. - In the top right corner, make sure
Package Source
is selected to be eithernuget.org
orAll
. - Click the
Browse
tab and in the search prompt typeCSharpLatest
. - 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
Tools
→NuGet Package Manager
→Manage NuGet Packages for Solution
. TheNuGet - 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 |
CSL1003 | Consider using primary contructors to simplify your code. |
CSL1004 | Consider using records to simplify your code. |
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 |
---|---|---|
2.0.0 | 91 | 12/21/2024 |
1.1.2 | 276 | 12/7/2024 |
1.1.1 | 83 | 12/7/2024 |
1.1.0 | 88 | 12/7/2024 |
1.0.10 | 129 | 11/18/2024 |
1.0.9 | 125 | 11/14/2024 |
1.0.8 | 94 | 11/13/2024 |
1.0.7 | 107 | 11/12/2024 |
1.0.5 | 442 | 9/15/2024 |
1.0.4 | 110 | 9/15/2024 |
1.0.2 | 323 | 9/3/2024 |
1.0.1 | 101 | 8/31/2024 |
1.0.0.8 | 105 | 8/31/2024 |
0.0.7 | 1,266 | 10/23/2023 |
0.0.6 | 216 | 10/22/2023 |
0.0.5 | 238 | 10/21/2023 |
0.0.4 | 168 | 10/21/2023 |
0.0.3.3 | 261 | 10/21/2023 |