Fdw.CodeBuilder.CSharp
1.0.1-rc.4
dotnet add package Fdw.CodeBuilder.CSharp --version 1.0.1-rc.4
NuGet\Install-Package Fdw.CodeBuilder.CSharp -Version 1.0.1-rc.4
<PackageReference Include="Fdw.CodeBuilder.CSharp" Version="1.0.1-rc.4" />
<PackageVersion Include="Fdw.CodeBuilder.CSharp" Version="1.0.1-rc.4" />
<PackageReference Include="Fdw.CodeBuilder.CSharp" />
paket add Fdw.CodeBuilder.CSharp --version 1.0.1-rc.4
#r "nuget: Fdw.CodeBuilder.CSharp, 1.0.1-rc.4"
#:package Fdw.CodeBuilder.CSharp@1.0.1-rc.4
#addin nuget:?package=Fdw.CodeBuilder.CSharp&version=1.0.1-rc.4&prerelease
#tool nuget:?package=Fdw.CodeBuilder.CSharp&version=1.0.1-rc.4&prerelease
Fdw.CodeBuilder.CSharp
A C# code builder — emits syntax rather than concatenating strings.
A TypeCollection and its options — an extensible enum. Members are discovered at compile time and reachable by ByName / ById / All; a lookup that finds nothing returns a NotFound sentinel rather than null, so a caller never has to null-check a lookup.
A module initializer collects every [TypeOption] in every referenced assembly and dedupes them into the collection at load. Adding a member is a package reference plus a declaration — the collection itself is never edited.
Collections
| Type | Kind | Purpose |
|---|---|---|
CodeBuilderCSharpResultCodes |
class | TypeCollection for CodeBuilder CSharp result codes. Codes use categorized numbers (Id == EventId ==… |
Options (5 declared)
| Type | Kind | Purpose |
|---|---|---|
ParseCancelledCode |
class | Parse operation was cancelled. |
ParseFailedCode |
class | Parse operation failed with exception. |
SourceCodeRequiredCode |
class | Source code was null or empty. |
SyntaxErrorsCode |
class | Source code contains syntax errors. |
ValidationFailedCode |
class | Validation failed. |
Installation
dotnet add package Fdw.CodeBuilder.CSharp --prerelease
Dependencies
Fdw.CodeBuilder.Abstractions · Fdw.Collections · Fdw.Results
Build-time only (generators and analyzers, not runtime dependencies): Fdw.Collections.SourceGenerators
Part of FractalDataWorks 1.0.0-rc.1. Licensed under Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Fdw.CodeBuilder.Abstractions (>= 1.0.1-rc.4)
- Fdw.Collections (>= 1.0.1-rc.4)
- Fdw.Results (>= 1.0.1-rc.4)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.10)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.CodeAnalysis.Analyzers (>= 5.3.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.3.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- System.Collections.Immutable (>= 10.0.10)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.10)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fdw.CodeBuilder.CSharp:
| Package | Downloads |
|---|---|
|
Fdw.SourceGenerators
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.UI.Components.RazorConsole.SourceGenerators
Development tools and utilities for the Fdw ecosystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1-rc.4 | 102 | 9/2/2026 |
| 1.0.1-rc.3 | 77 | 9/2/2026 |
| 1.0.1-rc.2 | 87 | 9/1/2026 |
| 1.0.1-rc.1 | 128 | 8/31/2026 |
| 1.0.0-rc.10 | 82 | 8/28/2026 |
| 1.0.0-rc.9 | 121 | 8/25/2026 |
| 1.0.0-rc.8 | 87 | 8/25/2026 |
| 1.0.0-rc.6.1 | 96 | 8/20/2026 |
| 1.0.0-rc.6 | 135 | 8/20/2026 |
| 1.0.0-rc.5 | 207 | 8/19/2026 |
| 1.0.0-rc.4 | 87 | 8/19/2026 |
| 1.0.0-rc.3 | 148 | 8/17/2026 |
| 1.0.0-rc.1 | 93 | 8/10/2026 |