Cohesive.Analyzers 0.1.0-alpha.126

This is a prerelease version of Cohesive.Analyzers.
dotnet add package Cohesive.Analyzers --version 0.1.0-alpha.126
                    
NuGet\Install-Package Cohesive.Analyzers -Version 0.1.0-alpha.126
                    
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="Cohesive.Analyzers" Version="0.1.0-alpha.126">
  <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.
<PackageVersion Include="Cohesive.Analyzers" Version="0.1.0-alpha.126" />
                    
Directory.Packages.props
<PackageReference Include="Cohesive.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Cohesive.Analyzers --version 0.1.0-alpha.126
                    
#r "nuget: Cohesive.Analyzers, 0.1.0-alpha.126"
                    
#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 Cohesive.Analyzers@0.1.0-alpha.126
                    
#: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=Cohesive.Analyzers&version=0.1.0-alpha.126&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Cohesive.Analyzers&version=0.1.0-alpha.126&prerelease
                    
Install as a Cake Tool

Cohesive.Analyzers

Roslyn analyzers and source generators that support Cohesive authoring patterns.

Install

dotnet add package Cohesive.Analyzers

Use When

  • You want source generation for Cohesive discriminated unions, code sets, quantity wrappers, or expression-first canonical Process authoring.
  • You want analyzer feedback for Cohesive domain authoring conventions.
  • You are building libraries that use Cohesive semantic authoring patterns and want compile-time assistance.

Example

using Cohesive.Domain;

[CodeSet]
public static partial class ShipmentStatus
{
    public const string Draft = "draft";

    [CodeSet("Dispatched", Description = "Shipment has left the origin facility.")]
    public const string Dispatched = "dispatched";
}

Notes

This package is consumed as an analyzer package. It does not provide runtime APIs for application code.

For Process authoring, GenerateProcessDefinition lowers a syntax-only C# async ProcessTask<T> method to a generated Define factory over canonical persisted IR. See the Cohesive.Processes authoring guide for the executable example, supported constructs, identity compatibility boundary, and the distinction between authoring source and restored execution.

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
0.1.0-alpha.126 0 10/4/2026
0.1.0-alpha.125 0 10/4/2026
0.1.0-alpha.124 0 10/4/2026
0.1.0-alpha.123 0 10/4/2026
0.1.0-alpha.122 5 10/3/2026
0.1.0-alpha.121 37 10/2/2026
0.1.0-alpha.120 62 9/29/2026
0.1.0-alpha.119 33 9/29/2026
0.1.0-alpha.118 56 9/29/2026
0.1.0-alpha.117 62 9/27/2026
0.1.0-alpha.116 52 9/26/2026
0.1.0-alpha.115 77 9/26/2026
0.1.0-alpha.114 60 9/24/2026
0.1.0-alpha.113 65 9/24/2026
0.1.0-alpha.112 62 9/23/2026
0.1.0-alpha.111 58 9/23/2026
0.1.0-alpha.110 56 9/23/2026
0.1.0-alpha.109.1 58 9/23/2026
0.1.0-alpha.109 58 9/23/2026
0.1.0-alpha.108 61 9/21/2026
Loading failed