InvariantStringHelper 1.0.0

dotnet add package InvariantStringHelper --version 1.0.0
                    
NuGet\Install-Package InvariantStringHelper -Version 1.0.0
                    
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="InvariantStringHelper" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InvariantStringHelper" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="InvariantStringHelper" />
                    
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 InvariantStringHelper --version 1.0.0
                    
#r "nuget: InvariantStringHelper, 1.0.0"
                    
#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 InvariantStringHelper@1.0.0
                    
#: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=InvariantStringHelper&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=InvariantStringHelper&version=1.0.0
                    
Install as a Cake Tool

CopilotAIWorkflow packages

NuGet packages from CopilotAIWorkflow — agent workflow tooling with mechanical quality gates.

Release 1.2.0 — InvariantStringHelper 1.0.0 is new; CSharpStyleChecker 1.2.0 accepts and recommends it in CSC009 (1.1.0 rejects the helper); breaking on .NET 6+: CSC009 now also rejects FormattableString.Invariant; ExitPointGaps 1.1.1 uses the helper. 1.1.0 shipped CSC009 plus CSC001–CSC008 fixes. Version line restarted at 1.0.0 (not a continuation of the pre-rebrand 2.x line).

CSharpStyleChecker

Roslyn analyzer enforcing C# style as compiler errors (CSC001–CSC009). Add as a development dependency:

<PackageReference Include="CSharpStyleChecker" Version="1.*" />

Analyzers load from analyzers/dotnet/cs (includes bundled ExitPoints.dll). See README.md — CSharpStyleChecker.

Replaces: CSharpStyleValidator (rule IDs CSV* → CSC*).

InvariantStringHelper

Invariant-culture string interpolation for .NET 6 and later that allocates only the result string.

<PackageReference Include="InvariantStringHelper" Version="1.*" />
global using static InvariantStringHelper.InvariantText;

string message = Invariant($"Rejection rate: {rate:P1}, count={count}");

No dependencies. netstandard2.0 is not supported. Together with CSharpStyleChecker use 1.2.0 or later: 1.1.0 reports the call as CSC009. See README.md — InvariantStringHelper.

ExitPointGaps

Local dotnet tool — lists exit-point gaps (exitGaps[]) from Cobertura and Roslyn exit-point collection. Analysis is integrated into the tool assembly (no separate library package).

dotnet new tool-manifest
dotnet tool install ExitPointGaps --version 1.*
dotnet tool run exitpointgaps --repo-root .

Requires .NET SDK 10.0, MTP + TUnit in test projects. Gate: summary.exitGapCount == 0. Multi-project summaries use schema v3 (reportFile indirection). Workflow SSOT: tech-tunit.md. User quickstart: README.md §2.

Replaces: CoverageGap.Tool + CoverageGapAnalysis.

Performance (1.0.0)

  • Per-project parallelism by default; cap with --max-parallelism <n>
  • Solution pre-build once, then --no-build for repeat runs
  • Scoped Cobertura parse, streaming writes, Roslyn Compilation dropped after exit collection
  • Benchmark (this repo, Release, --no-build): serial ~22.8s → parallel ~12.0s (~47% faster)

Details: CSharpStyleChecker CHANGELOG, ExitPointGaps CHANGELOG, repo CHANGELOG.md.

Migration

Deprecated Use instead
PackageReference CSharpStyleValidator CSharpStyleChecker
dotnet tool install CoverageGap.Tool dotnet tool install ExitPointGaps
PackageReference CoverageGapAnalysis ExitPointGaps CLI only
Analyzer IDs CSV001–CSV008 CSC001–CSC009
dotnet tool run coveragegap dotnet tool run exitpointgaps

Requirements

Package Consumer / host Notes
CSharpStyleChecker SDK-style netstandard2.0+ or .NET Core App .NET SDK 9.0.300+ or VS 2022 17.14+ (Roslyn 4.14)
InvariantStringHelper SDK-style net6.0+ No dependencies; netstandard2.0 is not supported
ExitPointGaps .NET SDK 10.0 Local tool manifest; not a project reference
This repository .NET SDK 10.0 global.json pins 10.0.100

Repo clone: Directory.Build.targets auto-applies CSharpStyleChecker (opt out with ApplyCSharpStyleChecker=false). NuGet consumers use PackageReference on each project that should enforce CSC rules; not transitive to downstream libraries.

License

MIT — see LICENSE.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on InvariantStringHelper:

Package Downloads
NetworkInspector.Values

Strongly-typed network address and timestamp value types for NetworkInspector. Provides MacAddress, IPv4Address, IPv6Address, Eui64, Uuid, and Timestamp structs.

NetworkInspector.Core

High-performance protocol analysis stack for network packet dissection. Provides the core framework for protocol registration, field trees, packet parsing, and cross-packet indexing. Includes a Roslyn source generator for declarative protocol definitions.

NetworkInspector.Sources

Frame source implementations for NetworkInspector. Reads PCAP, PCAPNG, Vector BLF, and Vector ASC capture files with streaming and random-access support.

NetworkInspector.Exporters

Frame and packet exporter implementations for NetworkInspector. Writes captured frames and parsed packets to PCAPNG, BLF, ASC, CSV, JSON, PBF, Text, and Parquet formats.

NetworkInspector.Protocols

Built-in protocol dissectors for NetworkInspector including Ethernet, IPv4, IPv6, TCP, UDP, DNS, DHCPv4, DHCPv6, HTTP/1.x, HTTP/2, TLS, DTLS, WebSocket, ARP, ICMP, ICMPv6, CAN, CAN XL, FlexRay, LIN, SOME/IP, PDU Transport, and more.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 123 11/5/2026