VarAnalyzer 1.0.6042.27567

dotnet add package VarAnalyzer --version 1.0.6042.27567
NuGet\Install-Package VarAnalyzer -Version 1.0.6042.27567
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="VarAnalyzer" Version="1.0.6042.27567" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VarAnalyzer --version 1.0.6042.27567
#r "nuget: VarAnalyzer, 1.0.6042.27567"
#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 VarAnalyzer as a Cake Addin
#addin nuget:?package=VarAnalyzer&version=1.0.6042.27567

// Install VarAnalyzer as a Cake Tool
#tool nuget:?package=VarAnalyzer&version=1.0.6042.27567

BEFORE READING: There are different schools of thought about var keyword usage. This analyzer is inspired by Jeremy post at http://jeremybytes.blogspot.it/2014/02/demystifying-var-keyword-in-c.html.

VarAnalyzer is an Analyzer with Code Fix developed using the Roslyn platform.
It allows users to get a warning each time they declare var construct in a non-legit context and it provides an option to infer the type.
var keyword should just be used to incapsulate anonymous types and collection of anonymous types. Uses of the var keyword for non-anonymous types make C# code hardly readable.

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
1.0.6042.27567 1,579 7/17/2016

Initial Release.