ErrorProne.NET.Structs 0.1.0

Analyzers that help avoiding struct and readonly reference performance pitfalls

There is a newer version of this package available.
See the version list below for details.
Install-Package ErrorProne.NET.Structs -Version 0.1.0
dotnet add package ErrorProne.NET.Structs --version 0.1.0
paket add ErrorProne.NET.Structs --version 0.1.0
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.

Version History

Version Downloads Last updated
0.1.2 7,417 11/1/2018
0.1.1.11 98 10/25/2018
0.1.1.10 201 10/3/2018
0.1.1 102 10/2/2018
0.1.0 1,336 5/3/2018