ToListinator 0.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package ToListinator --version 0.0.4
                    
NuGet\Install-Package ToListinator -Version 0.0.4
                    
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="ToListinator" Version="0.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ToListinator" Version="0.0.4" />
                    
Directory.Packages.props
<PackageReference Include="ToListinator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ToListinator --version 0.0.4
                    
#r "nuget: ToListinator, 0.0.4"
                    
#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.
#:package ToListinator@0.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ToListinator&version=0.0.4
                    
Install as a Cake Addin
#tool nuget:?package=ToListinator&version=0.0.4
                    
Install as a Cake Tool

ToListinator

The tragedy of ToList

As the blog post discusses, it is very common for C# programmers to waste resources by allocating lists unnecessarily. The canonical example is using ToList().ForEeach(...) solely because the List<T> type happens to have a ForEach method on it.

ToListinator is a Roslyn code analyzer designed to track down and help eliminate these kinds of unnecessary ToList calls with extreme prejudice, among other things.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.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
0.0.10 15 8/26/2025
0.0.9 18 8/26/2025
0.0.8 40 8/26/2025
0.0.7 40 8/26/2025
0.0.6 31 8/22/2025
0.0.5 200 8/4/2025
0.0.4 444 7/23/2025
0.0.3 494 7/23/2025
0.0.2 279 7/21/2025