ErrorProne.NET.Structs 0.1.2

Analyzers that help avoiding struct and readonly reference performance pitfalls

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package ErrorProne.NET.Structs -Version 0.1.2
dotnet add package ErrorProne.NET.Structs --version 0.1.2
<PackageReference Include="ErrorProne.NET.Structs" Version="0.1.2">
  <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 ErrorProne.NET.Structs --version 0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* EPS01: detects that a struct could be made readonly;
* EPS02: detects that a struct not suitable for readonly contexts is passed using 'in'-parameter
* EPS03: detects that a struct not suitable for readonly contexts is returned by ref readonly reference.
* EPS04: detects that a struct not suitable for readonly contexts is stored in ref readonly local.
* EPS05: detects that a struct could be passed using 'in'-modifier for performance reasons.
* EPS06: detects that the compiler emits a defensive copy for a given expression.

  • .NETStandard 1.3

    • No dependencies.

Showing the top 1 GitHub repositories that depend on ErrorProne.NET.Structs:

Repository Stars
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET

Version History

Version Downloads Last updated
0.2.0-beta.7 3,561 4/9/2019
0.1.2 21,846 11/1/2018
0.1.1.11 211 10/25/2018
0.1.1.10 273 10/3/2018
0.1.1 173 10/2/2018
0.1.0 1,448 5/3/2018