Soenneker.Extensions.Spans.Readonly.Types
4.0.26
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Extensions.Spans.Readonly.Types --version 4.0.26
NuGet\Install-Package Soenneker.Extensions.Spans.Readonly.Types -Version 4.0.26
<PackageReference Include="Soenneker.Extensions.Spans.Readonly.Types" Version="4.0.26" />
<PackageVersion Include="Soenneker.Extensions.Spans.Readonly.Types" Version="4.0.26" />
<PackageReference Include="Soenneker.Extensions.Spans.Readonly.Types" />
paket add Soenneker.Extensions.Spans.Readonly.Types --version 4.0.26
#r "nuget: Soenneker.Extensions.Spans.Readonly.Types, 4.0.26"
#:package Soenneker.Extensions.Spans.Readonly.Types@4.0.26
#addin nuget:?package=Soenneker.Extensions.Spans.Readonly.Types&version=4.0.26
#tool nuget:?package=Soenneker.Extensions.Spans.Readonly.Types&version=4.0.26
Soenneker.Extensions.Spans.Readonly.Types
Extension methods for hashing, comparing, and inspecting read-only spans of runtime Type objects.
Installation
dotnet add package Soenneker.Extensions.Spans.Readonly.Types
Usage
using Soenneker.Extensions.Spans.Readonly.Types;
ReadOnlySpan<Type> signature = [typeof(string), typeof(int)];
int key = signature.ToHashKey();
The same type objects in the same order produce the same key within a process; changing the order changes the hash. An empty span returns 0.
The hash uses runtime object identity. It is not stable across processes or application runs, is not cryptographic, and is not guaranteed unique—store the original type sequence alongside it if collisions must be resolved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 is compatible. 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Soenneker.Extensions.Spans.Readonly.Types:
| Package | Downloads |
|---|---|
|
Soenneker.Reflection.Cache
The fastest .NET Reflection cache |
|
|
Soenneker.Extensions.Type.Array
A collection of helpful Type array extension methods |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.34 | 20,284 | 10/14/2026 |
| 4.0.33 | 2,486 | 10/14/2026 |
| 4.0.28 | 10,040 | 10/12/2026 |
| 4.0.27 | 156 | 10/12/2026 |
| 4.0.26 | 5,417 | 10/11/2026 |
| 4.0.25 | 127,869 | 9/24/2026 |
| 4.0.24 | 37,897 | 9/15/2026 |
| 4.0.23 | 48,145 | 9/12/2026 |
| 4.0.22 | 136,021 | 8/30/2026 |
| 4.0.21 | 4,535 | 8/29/2026 |
| 4.0.19 | 146 | 8/29/2026 |
| 4.0.18 | 114 | 8/29/2026 |
| 4.0.17 | 195,093 | 7/28/2026 |
| 4.0.16 | 87,892 | 7/16/2026 |
| 4.0.15 | 150,285 | 6/18/2026 |
| 4.0.14 | 118,965 | 6/5/2026 |
| 4.0.13 | 207,944 | 4/22/2026 |
| 4.0.12 | 119,096 | 3/14/2026 |
| 4.0.11 | 3,410 | 3/12/2026 |
| 4.0.10 | 140 | 3/12/2026 |
Fix release metadata shell injection