Basic.Generators
0.1.0-dev
This is a prerelease version of Basic.Generators.
dotnet add package Basic.Generators --version 0.1.0-dev
NuGet\Install-Package Basic.Generators -Version 0.1.0-dev
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="Basic.Generators" Version="0.1.0-dev" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Basic.Generators --version 0.1.0-dev
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Basic.Generators, 0.1.0-dev"
#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 Basic.Generators as a Cake Addin #addin nuget:?package=Basic.Generators&version=0.1.0-dev&prerelease // Install Basic.Generators as a Cake Tool #tool nuget:?package=Basic.Generators&version=0.1.0-dev&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
basic-generators
Roslyn Source Generators and Analyzers
AutoEquality
This generator automatically adds equality to types annotated with [AutoEquality]
.
[AutoEquality]
partial class Person
{
string FirstName;
string LastName;
}
This will generate
partial class Person : IEquatable<Person?>
{
public static bool operator==(Person?, Person?);
public static bool operator!=(Person?, Person?);
public bool Equals(Person?);
public override bool Equals(object?);
public override int GetHashCode();
}
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.8.0)
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.1.0-dev | 50 | 11/27/2024 |