EricksonLopez.Result
dotnet-result · Error Handling
On this page (20 sections)
1. Identity, Tier & Maturity Profile#
2. Value Proposition & Problem Solved#
A high-performance, zero-allocation Result Pattern ecosystem for modern .NET. Includes ASP.NET Core ProblemDetails, OpenTelemetry, MediatR, FluentValidation, and Roslyn Analyzer integrations.
Throwing exceptions for expected domain validation or not-found outcomes hides control flow from method signatures and incurs heavy stack-unwind allocations.
3. Quick Install#
Primary package: EricksonLopez.Result
dotnet add package EricksonLopez.Result --version 3.0.0<PackageReference Include="EricksonLopez.Result" Version="3.0.0" /><PackageVersion Include="EricksonLopez.Result" Version="3.0.0" />4. Verified Ecosystem Metrics#
Snapshot retrieved UTC: 2026-12-01
5. When to Use & When Not to Use#
When to use
- You want explicit Result and Result<TValue> contracts across Domain, Application, and HTTP endpoints.
- You need zero-allocation success envelopes, TState closure-free pipelines, and ASP.NET Core RFC 9457 ProblemDetails mapping.
When NOT to use
- You are handling truly unexpected infrastructure corruption where process abort or exception middleware is more appropriate.
6. Core Capabilities & Design Invariants#
Value-Type Result & Error Taxonomy
Readonly struct Result and Result<TValue> paired with ErrorType, ErrorSeverity, and ErrorRetryability.
Closure-Free TState Pipelines
Map, Bind, Ensure, TapOnSuccess, TapOnFailure, and Match offer TState overloads and ArrayPool-backed Combine.
Roslyn Analyzers & Ecosystem Adapters
Ships Roslyn analyzers (RESULT001/RESULT004) plus adapters for AspNetCore, FluentValidation, MediatR, EF Core, Dapr, and Polly.
7. Included NuGet Packages & Adapters#
| Package ID | Status | NuGet / Local | TFMs | AOT Status | Downloads | Description |
|---|---|---|---|---|---|---|
| EricksonLopez.ResultPrimary | Published | v3.0.0 / v3.2.0 | netstandard2.0, net8.0, net9.0, net10.0 | AOT: Full | 17,193 | An ultra-high performance, struct-based, enterprise-grade Result pattern implementation for modern .NET. |
| EricksonLopez.Result.FluentValidation | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 1,374 | FluentValidation integration for EricksonLopez.Result. Converts FluentValidation.ValidationResult to Result failures with structured error metadata. |
| EricksonLopez.Result.Testing | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 601 | Testing assertions and helper utilities for EricksonLopez.Result. |
| EricksonLopez.Result.Testing.XUnit | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 600 | xUnit-specific testing helpers for EricksonLopez.Result. Provides ResultAssertionXUnitException which inherits from Xunit.Sdk.XunitException so failed assertions appear as "Failure" (not "Error") in xUnit's test output, producing cleaner assertion messages without unnecessary stack traces. |
| EricksonLopez.Result.OpenTelemetry | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 473 | OpenTelemetry ActivitySource tracing and Metrics integration for EricksonLopez.Result. |
| EricksonLopez.Result.Serialization | Published | v3.0.0 / v3.2.0 | netstandard2.0, net8.0, net9.0, net10.0 | AOT: Incompatible | 473 | System.Text.Json serialization support and JsonConverters for EricksonLopez.Result. |
| EricksonLopez.Result.AspNetCore | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 471 | ASP.NET Core integration for EricksonLopez.Result providing ProblemDetails RFC 9457 formatting and Minimal API endpoint filters. |
| EricksonLopez.Result.MediatR | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 451 | [INTEROP / COMPATIBILITY BRIDGE] MediatR pipeline behavior integration for EricksonLopez.Result. Provides Result-aware validation and exception handling behaviors for legacy MediatR applications. |
| EricksonLopez.Result.Testing.NUnit | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 451 | NUnit-specific testing helpers for EricksonLopez.Result. Provides ResultAssertionNUnitException which inherits from NUnit's AssertionException so failed assertions appear correctly in NUnit's test output. |
| EricksonLopez.Result.OpenApi | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 308 | OpenAPI / Swagger schema generators and response transformers for EricksonLopez.Result and RFC 9457 ProblemDetails. |
| EricksonLopez.Result.Generic | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 275 | Strongly-typed Result<TValue, TError> with compile-time error types for strict domain model pipelines in modern .NET. |
| EricksonLopez.Result.Maybe | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 269 | High-performance struct-based Maybe<T> option type for DDD repositories and query layers with seamless EricksonLopez.Result interop. |
| EricksonLopez.Result.EntityFrameworkCore | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 153 | Entity Framework Core integration for EricksonLopez.Result. Converts DbContext and IQueryable operations to Result with structured error taxonomy mapping. |
| EricksonLopez.Result.Grpc | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 151 | gRPC integration for EricksonLopez.Result. Bridges gRPC unary calls with Result envelopes, provides automatic StatusCode mapping from ErrorType, and propagates rich error metadata trailers. |
| EricksonLopez.Result.MassTransit | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 148 | MassTransit pipeline integration for EricksonLopez.Result. Translates domain Result failures into structured message bus faults. |
| EricksonLopez.Result.Dapr | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 145 | Dapr integration for EricksonLopez.Result. Bridges Dapr state store optimistic concurrency and Pub/Sub TopicEventResponse with Result envelopes and ErrorRetryability. |
| EricksonLopez.Result.Polly | Published | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Full | 138 | Polly v8 resilience pipeline integration for EricksonLopez.Result. Bridges ResiliencePipeline with ErrorRetryability for exception-free, zero-allocation retries and circuit breakers. |
| EricksonLopez.Result.AnalyzersAnalyzer / Generator | Published | v3.0.0 / v3.2.0 | netstandard2.0 | AOT: N/A (Analyzer/Legacy) | 469 | Roslyn analyzers and code fixes for EricksonLopez.Result: detects closure allocations in Result pipelines (RESULT004), discarded ErrorBuilder return values with auto-fix (RESULT003), oversized Result value types (RESULT001), chained Error.WithMetadata() allocations (RESULT005), chained ErrorBuilder.WithInnerError() patterns (RESULT006), HashSet<Error>/Dictionary<Error,...> and LINQ Distinct/GroupBy/ToHashSet without ErrorEqualityComparer.Strict (RESULT007), endpoint filter OpenAPI degradation (RESULT008), ResultHttpOptions.IncludeDescription=true without environment guard (RESULT009 - security), default Result returns (RESULT012), and implicit bool conversion in conditionals with auto-fix (RESULT013). |
| EricksonLopez.Result.Serialization.GeneratorsAnalyzer / Generator | Published | v3.0.0 / v3.2.0 | netstandard2.0 | AOT: N/A (Analyzer/Legacy) | 435 | Roslyn source generator for AOT-compatible Result<T> JSON serialization. Eliminates reflection-based MakeGenericType/Activator.CreateInstance usage. |
| EricksonLopez.Result.DomainErrors.GeneratorsAnalyzer / Generator | Published | v3.0.0 / v3.2.0 | netstandard2.0 | AOT: N/A (Analyzer/Legacy) | 142 | Roslyn incremental source generator producing strongly-typed domain error factory classes from .errors.json declarations. |
8. Quick Start Code Example#
Grounded in verified public APIs from EricksonLopez.Result. Compile with `<ImplicitUsings>disable</ImplicitUsings>` and explicit imports.
using System;
using EricksonLopez.Result;
public static class UserErrors
{
public static Error NotFound(Guid id) =>
Error.NotFound("User.NotFound", $"User with ID '{id}' was not found.");
public static readonly Error Suspended =
Error.Forbidden("User.Suspended", "User account has been suspended.")
.WithRetryability(ErrorRetryability.Permanent);
}
public static class AccountService
{
public static Result<string> ResolveAccount(bool exists, bool suspended, Guid id) =>
Result.Success(id)
.Ensure(_ => exists, UserErrors.NotFound(id))
.Ensure(_ => !suspended, UserErrors.Suspended)
.Map(static userId => $"active:{userId}");
}9. Architecture & Dependency Flow#
Rendering diagram…
flowchart LR lib_result["EricksonLopez.Result (L0)"] lib_specification["EricksonLopez.Specification (L1)"] lib_specification -.-> lib_result lib_value_objects["EricksonLopez.ValueObjects (L1)"] lib_value_objects --> lib_result lib_caching["EricksonLopez.Caching (L2)"] lib_caching --> lib_result lib_concurrency["EricksonLopez.Concurrency (L2)"] lib_concurrency -.-> lib_result lib_distributedlock["EricksonLopez.DistributedLock (L2)"] lib_distributedlock --> lib_result lib_idempotency["EricksonLopez.Idempotency (L2)"] lib_idempotency -.-> lib_result lib_mapper["EricksonLopez.Mapper (L2)"] lib_mapper -.-> lib_result lib_mediator["EricksonLopez.Mediator (L2)"] lib_mediator -.-> lib_result lib_multitenancy["EricksonLopez.MultiTenancy (L2)"] lib_multitenancy --> lib_result lib_observability["EricksonLopez.Observability (L2)"] lib_observability --> lib_result lib_pagination["EricksonLopez.Pagination (L2)"] lib_pagination -.-> lib_result lib_ratelimiting["EricksonLopez.RateLimiting (L2)"] lib_ratelimiting --> lib_result lib_resilience["EricksonLopez.Resilience (L2)"] lib_resilience -.-> lib_result lib_transaction["EricksonLopez.Transaction (L2)"] lib_transaction -.-> lib_result lib_messaging["EricksonLopez.Messaging (L3)"] lib_messaging --> lib_result lib_outbox["EricksonLopez.Outbox (L3)"] lib_outbox -.-> lib_result lib_printing["EricksonLopez.Printing (L3)"] lib_printing --> lib_result lib_security["EricksonLopez.Security (L3)"] lib_security --> lib_result lib_sql_builder["EricksonLopez.SqlBuilder (L3)"] lib_sql_builder --> lib_result lib_webhooks["EricksonLopez.Webhooks (L3)"] lib_webhooks --> lib_result lib_xml["EricksonLopez.Xml (L3)"] lib_xml --> lib_result
View accessible text summary and structure
0 upstream library dependencies and 21 downstream dependent libraries verified in dependencies.json.
| Direction | Library | Tier | Relationship Kinds |
|---|---|---|---|
| Downstream | EricksonLopez.Specification | L1 | Adapter, NuGet Package |
| Downstream | EricksonLopez.ValueObjects | L1 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Caching | L2 | Adapter, Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Concurrency | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.DistributedLock | L2 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Idempotency | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.Mapper | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.Mediator | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.MultiTenancy | L2 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Observability | L2 | Compile-Time |
| Downstream | EricksonLopez.Pagination | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.RateLimiting | L2 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Resilience | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.Transaction | L2 | Adapter, NuGet Package |
| Downstream | EricksonLopez.Messaging | L3 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Outbox | L3 | Adapter, NuGet Package |
| Downstream | EricksonLopez.Printing | L3 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Security | L3 | Adapter, Compile-Time, NuGet Package |
| Downstream | EricksonLopez.SqlBuilder | L3 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Webhooks | L3 | Compile-Time, NuGet Package |
| Downstream | EricksonLopez.Xml | L3 | Compile-Time, NuGet Package |
flowchart LR
lib_result["EricksonLopez.Result (L0)"]
lib_specification["EricksonLopez.Specification (L1)"]
lib_specification -.-> lib_result
lib_value_objects["EricksonLopez.ValueObjects (L1)"]
lib_value_objects --> lib_result
lib_caching["EricksonLopez.Caching (L2)"]
lib_caching --> lib_result
lib_concurrency["EricksonLopez.Concurrency (L2)"]
lib_concurrency -.-> lib_result
lib_distributedlock["EricksonLopez.DistributedLock (L2)"]
lib_distributedlock --> lib_result
lib_idempotency["EricksonLopez.Idempotency (L2)"]
lib_idempotency -.-> lib_result
lib_mapper["EricksonLopez.Mapper (L2)"]
lib_mapper -.-> lib_result
lib_mediator["EricksonLopez.Mediator (L2)"]
lib_mediator -.-> lib_result
lib_multitenancy["EricksonLopez.MultiTenancy (L2)"]
lib_multitenancy --> lib_result
lib_observability["EricksonLopez.Observability (L2)"]
lib_observability --> lib_result
lib_pagination["EricksonLopez.Pagination (L2)"]
lib_pagination -.-> lib_result
lib_ratelimiting["EricksonLopez.RateLimiting (L2)"]
lib_ratelimiting --> lib_result
lib_resilience["EricksonLopez.Resilience (L2)"]
lib_resilience -.-> lib_result
lib_transaction["EricksonLopez.Transaction (L2)"]
lib_transaction -.-> lib_result
lib_messaging["EricksonLopez.Messaging (L3)"]
lib_messaging --> lib_result
lib_outbox["EricksonLopez.Outbox (L3)"]
lib_outbox -.-> lib_result
lib_printing["EricksonLopez.Printing (L3)"]
lib_printing --> lib_result
lib_security["EricksonLopez.Security (L3)"]
lib_security --> lib_result
lib_sql_builder["EricksonLopez.SqlBuilder (L3)"]
lib_sql_builder --> lib_result
lib_webhooks["EricksonLopez.Webhooks (L3)"]
lib_webhooks --> lib_result
lib_xml["EricksonLopez.Xml (L3)"]
lib_xml --> lib_result10. Target Frameworks & Native AOT / Trimming Matrix#
MSBuild `.csproj` inspection across 20 packages: 12 Full, 0 Partial, 5 Incompatible, 3 NotApplicable (analyzers/generators).
| Package ID | IsAotCompatible | EnableTrimAnalyzer | Verified AOT Status | Target Frameworks |
|---|---|---|---|---|
| EricksonLopez.Result | true | true | Full | netstandard2.0, net8.0, net9.0, net10.0 |
| EricksonLopez.Result.FluentValidation | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Testing | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Testing.XUnit | false | true | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.OpenTelemetry | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Serialization | false | false | Incompatible | netstandard2.0, net8.0, net9.0, net10.0 |
| EricksonLopez.Result.AspNetCore | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.MediatR | false | false | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Testing.NUnit | false | true | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.OpenApi | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Generic | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Maybe | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.EntityFrameworkCore | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Grpc | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.MassTransit | false | true | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Dapr | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Polly | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Analyzers | null | null | NotApplicable | netstandard2.0 |
| EricksonLopez.Result.Serialization.Generators | null | null | NotApplicable | netstandard2.0 |
| EricksonLopez.Result.DomainErrors.Generators | null | null | NotApplicable | netstandard2.0 |
11. Upstream Dependencies & Downstream Dependents#
Upstream Dependencies (0)
Zero cross-family upstream library dependencies (foundational node).
Downstream Dependents (21)
12. Optional Adapters & Third-Party Integrations#
Internal Adapter Edges & Integration Packages
- EricksonLopez.Caching→ EricksonLopez.Result
- EricksonLopez.Concurrency.Result (EricksonLopez.Concurrency)→ EricksonLopez.Result
- EricksonLopez.Idempotency.Result (EricksonLopez.Idempotency)→ EricksonLopez.Result
- EricksonLopez.Mapper.Result (EricksonLopez.Mapper)→ EricksonLopez.Result
- EricksonLopez.Mediator.Caching (EricksonLopez.Mediator)→ EricksonLopez.Result
- EricksonLopez.Mediator.FluentValidation (EricksonLopez.Mediator)→ EricksonLopez.Result.FluentValidation
- EricksonLopez.Mediator.OpenTelemetry (EricksonLopez.Mediator)→ EricksonLopez.Result
- EricksonLopez.Mediator.Result (EricksonLopez.Mediator)→ EricksonLopez.Result
- EricksonLopez.Outbox→ EricksonLopez.Result
- EricksonLopez.Pagination.Result (EricksonLopez.Pagination)→ EricksonLopez.Result
- EricksonLopez.Resilience→ EricksonLopez.Result
- EricksonLopez.Security.Mediator (EricksonLopez.Security)→ EricksonLopez.Result
- EricksonLopez.Specification.Result (EricksonLopez.Specification)→ EricksonLopez.Result
- EricksonLopez.Transaction.Mediator (EricksonLopez.Transaction)→ EricksonLopez.Result
- EricksonLopez.Transaction.Result (EricksonLopez.Transaction)→ EricksonLopez.Result
Verified External NuGet Dependencies (19)
13. Configuration & DI Registration Summary#
Verified DI & Configuration Entry Points
Result.MapErrorTransforms the error of a failed result using the provided `mapper`. Returns the same success result unchanged.
Result.MapError<TState>Transforms the error of a failed result using the provided `mapper` and captured state. Returns the same success result unchanged.
Result.MapFailure<TOut>Maps a failure `Error` to a value of type `TOut`, or returns `successDefault` when this result is successful.
Result.MapFailure<TState, TOut>Maps a failure `Error` to a value of type `TOut` using captured `state` to avoid closure allocation. Returns `successDefault` when this result is successful.
ResultExtensions.MapErrorTransforms the inner error of the asynchronous result if in a failure state.
ResultExtensions.MapError<T>Transforms the inner error of the asynchronous result if in a failure state.
ResultExtensions.MapError<TState, T>Transforms the inner error of the asynchronous result if in a failure state.
ResultExtensions.MapError<TState>Transforms the inner error of the asynchronous result if in a failure state.
ResultExtensions.MapFailure<T, TOut>Maps a failure error into `TOut` using `onFailure`, or returns `successDefault` when the result is successful. Async overload for `Task<Result<T>>` pipelines.
ResultExtensions.MapFailure<TOut>Maps a failure error into `TOut` using `onFailure`, or returns `successDefault` when the result is successful. Async overload for `Task<Result>` pipelines.
ResultExtensions.MapFailure<TState, T, TOut>Maps a failure error into `TOut` using captured state to avoid closure allocations. Async overload for `Task<Result<T>>` pipelines.
ResultExtensions.MapFailure<TState, TOut>Maps a failure error into `TOut` using captured state to avoid closure allocations. Async overload for `Task<Result>` pipelines.
Key Public Types & Contracts
EricksonLopez.Result.Error (class)Represents a structured, immutable domain error with support for deep equality, metadata, retryability, and distributed tracing.
EricksonLopez.Result.ErrorBuilder (struct)Represents a fluent, stack-allocated builder for constructing `Error` instances with multiple optional properties. The builder struct itself incurs no heap allocation; however, `ErrorBuilder.WithMetadata(string, object)` and `ErrorBuilder.WithInnerError(Error)` allocate heap nodes in the backing `ImmutableDictionary<T1, T2>` and `ImmutableArray<T>` respectively (O(log k) per entry for metadata). Prefer this over the `Error` constructor when setting more than two optional fields, or use `Error.ToBuilder` to create a modified copy of an existing `Error`.
EricksonLopez.Result.ErrorEqualityComparer (class)Provides `IEqualityComparer<T>` implementations for `Error`.
EricksonLopez.Result.ErrorRetryability (enum)Specifies whether an operation associated with an error can be retried.
EricksonLopez.Result.ErrorSeverity (enum)Specifies the severity level of an error.
EricksonLopez.Result.ErrorType (enum)Specifies the classification category and functional scope of an error.
EricksonLopez.Result.IResultFactory`1 (interface)Defines a compile-time factory contract for constructing strongly-typed failed result outcomes without runtime reflection or boxing inside generic pipeline behaviors.
EricksonLopez.Result.IResultOutcome (interface)Defines the foundational contract for all Result outcomes. Named IResultOutcome to avoid name collision with Microsoft.AspNetCore.Http.IResult.
EricksonLopez.Result.Result (struct)Partial declaration of `Result` providing aggregation and combination operations.
EricksonLopez.Result.ResultExtensions (class)Async extension methods for composing `Result` and `Result<T>` pipelines over `ValueTask`.
EricksonLopez.Result.ResultLinqExtensions (class)Provides LINQ extension support for `Result<TValue>` pipelines.
EricksonLopez.Result.ResultSyncExtensions (class)Provides high-performance synchronous extension methods for `Result<TValue>` that accept the struct by reference (`in`) to avoid copying large value types.
14. Verified Performance Benchmarks#
All verified measurements below come strictly from `BenchmarkDotNet.Artifacts` running on .NET RyuJIT (0 NativeAOT benchmark runs exist in this snapshot).
| Suite | Method | Runtime | Mean (ns) | Allocated (B) | Status |
|---|---|---|---|---|---|
| CompetitorBenchmarks | EricksonLopez_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorBenchmarks | EricksonLopez_SuccessValue | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorBenchmarks | ErrorOr_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorBenchmarks | ErrorOr_SuccessValue | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorEqualityBenchmarks | LightResults_GetHashCode | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorGenericScalingBenchmarks | EricksonLopez_Int | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorGenericScalingBenchmarks | LightResults_Int | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | CSharpFunctionalExtensions_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | ManagedCode_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | OneOf_IsT0 | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | Remora_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Failure_NonGeneric | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Failure_NonGeneric | .NET 9.0.20 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | ImplicitConversion_Value | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Success_NonGeneric | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Success_NonGeneric | .NET 9.0.20 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | ErrorOr_IsError | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | LightResults_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Failure_Int | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | ImplicitConversion_Error | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| CompetitorConstructionBenchmarks | ManagedCode_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.001 | 0 | measured |
| CompetitorConstructionBenchmarks | EricksonLopez_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.002 | 0 | measured |
| ResultConstructionBenchmarks | Success_NonGeneric | .NET 8.0.31 X64 RyuJIT x86-64-v3 | 0.002 | 0 | measured |
| CompetitorInspectionBenchmarks | EricksonLopez_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.003 | 0 | measured |
| CompetitorBenchmarks | LanguageExt_SuccessValue | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.006 | 0 | measured |
15. Release History & NuGet vs Repo Status#
Version lag detected: NuGet.org latest published version is v3.0.0, while local repository HEAD is at v3.2.0.
| Version | Source | Published Date | Summary |
|---|---|---|---|
| v3.0.0 ↗ | nuget | 2026-09-20 | Published EricksonLopez.Result 3.0.0 to NuGet.org. |
| v3.0.0 ↗ | github | 2026-09-20 | Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Result` | `3.0.0` | | `EricksonLopez.Result.Generic` | `3.0.0` | | `EricksonLopez.Result.Maybe` | `3.0.0` | | `EricksonLopez.Result.OpenApi` | `3.0.0` | | `EricksonLopez.Result.AspNetCore` | `3.0.0` | | `EricksonLopez.Result.OpenTelemetry` | `3.0.0` | | `EricksonLopez.Result.Serialization` | `3.0.0` ... |
| v2.0.0 ↗ | nuget | 2026-08-24 | Published EricksonLopez.Result 2.0.0 to NuGet.org. |
| v2.0.0 ↗ | github | 2026-08-24 | Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Result` | `2.0.0` | | `EricksonLopez.Result.Generic` | `2.0.0` | | `EricksonLopez.Result.Maybe` | `2.0.0` | | `EricksonLopez.Result.OpenApi` | `2.0.0` | | `EricksonLopez.Result.AspNetCore` | `2.0.0` | | `EricksonLopez.Result.OpenTelemetry` | `2.0.0` | | `EricksonLopez.Result.Serialization` | `2.0.0` ... |
| v1.0.0 ↗ | github | 2026-08-01 | Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Result` | `1.0.0` | | `EricksonLopez.Result.AspNetCore` | `1.0.0` | | `EricksonLopez.Result.OpenTelemetry` | `1.0.0` | | `EricksonLopez.Result.Serialization` | `1.0.0` | | `EricksonLopez.Result.Serialization.Generators` | `1.0.0` | | `EricksonLopez.Result.FluentValidation` | `1.0.0` | | `EricksonLope... |
| v1.0.0 ↗ | nuget | 2026-08-01 | Published EricksonLopez.Result 1.0.0 to NuGet.org. |
16. Complementary & Related Libraries#
Libraries in the same tier, architectural layer, or directly paired via dependency edges.
17. Documentation, API Reference & Portal Links#
Conceptual Documentation (Starlight) →
Extracted XML API Reference →
20 namespaces · 83 types · 878 members
Ecosystem Dependency Map →
Learning Center & Handbook →
Per-library conceptual Starlight pages expand in M4; API Reference pages expand in M3.2.
18. Source Repository, License & Contributing#
Released under the MIT License. All assemblies follow EricksonLopez.* build invariants: explicit imports, strong-name signing (`EricksonLopez.snk`), and ASCII author metadata (`Erickson Lopez`).
19. Troubleshooting, Pitfalls & Migration Guidance#
- Core Result packages are IsAotCompatible=true; legacy adapters like MediatR, FluentValidation, and Newtonsoft.Json are marked Incompatible.
- Version lag detected: NuGet.org latest published version is v3.0.0, while local repository HEAD is at v3.2.0.
20. Quality & Verification Evidence#
- Strong-Name Signing (`EricksonLopez.snk`)
- EricksonLopez.snk
- `ImplicitUsings=disable`
- disable
- XML Documentation Extraction
- Verified (20 namespaces, 83 types, 878 members)
- MSBuild AOT / Trim Attributes
- 12 Full / 0 Partial / 5 Incompatible / 3 N/A
- BenchmarkDotNet Artifacts
- 425 total (422 measured, 3 na_error)
Explicit Verification Boundaries & Limitations
- All verified measurements below come strictly from `BenchmarkDotNet.Artifacts` running on .NET RyuJIT (0 NativeAOT benchmark runs exist in this snapshot).