Cohesive.Analyzers
0.1.0-alpha.126
dotnet add package Cohesive.Analyzers --version 0.1.0-alpha.126
NuGet\Install-Package Cohesive.Analyzers -Version 0.1.0-alpha.126
<PackageReference Include="Cohesive.Analyzers" Version="0.1.0-alpha.126"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Cohesive.Analyzers" Version="0.1.0-alpha.126" />
<PackageReference Include="Cohesive.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Cohesive.Analyzers --version 0.1.0-alpha.126
#r "nuget: Cohesive.Analyzers, 0.1.0-alpha.126"
#:package Cohesive.Analyzers@0.1.0-alpha.126
#addin nuget:?package=Cohesive.Analyzers&version=0.1.0-alpha.126&prerelease
#tool nuget:?package=Cohesive.Analyzers&version=0.1.0-alpha.126&prerelease
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.
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 |