TC.Tier.CodeGen.Analyzers 1.0.0-alpha.3

This is a prerelease version of TC.Tier.CodeGen.Analyzers.
dotnet add package TC.Tier.CodeGen.Analyzers --version 1.0.0-alpha.3
                    
NuGet\Install-Package TC.Tier.CodeGen.Analyzers -Version 1.0.0-alpha.3
                    
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="TC.Tier.CodeGen.Analyzers" Version="1.0.0-alpha.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TC.Tier.CodeGen.Analyzers" Version="1.0.0-alpha.3" />
                    
Directory.Packages.props
<PackageReference Include="TC.Tier.CodeGen.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 TC.Tier.CodeGen.Analyzers --version 1.0.0-alpha.3
                    
#r "nuget: TC.Tier.CodeGen.Analyzers, 1.0.0-alpha.3"
                    
#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 TC.Tier.CodeGen.Analyzers@1.0.0-alpha.3
                    
#: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=TC.Tier.CodeGen.Analyzers&version=1.0.0-alpha.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TC.Tier.CodeGen.Analyzers&version=1.0.0-alpha.3&prerelease
                    
Install as a Cake Tool

TC.Tier.CodeGen.Analyzers

TC.Tier 仓库专属的编译期纪律分析器(Roslyn DiagnosticAnalyzer,随编译自动注入:根 Directory.Build.props 全局挂载,标注项目除外)。

通用规则族(分层依赖/禁用模式)已迁入可打包的 TC.Tier.Analyzers(配置驱动,TCSG130-139)—— 本项目只保留仓库专属规则;Tier 仓规则经根 .editorconfigtier_layer.*/tier_forbidden.* 键声明。

分析器与诊断号

诊断 分析器 规则
TCSG120-122 TierFsSpecAnalyzer TierFs.New/Open 常量实参编译期诊断(scheme 非法/参数未知/参数×介质违规)——与运行时校验构成纵深防御

真值表/规则同源性由 Core 契约测试钉死(漂移即红)。

使用

TC.Tier.CodeGen 自动注入(Analyzer 引用),无需手工安装;豁免规则遵循标准 .editorconfig 严重级配置。

依赖

  • 无项目引用(独立 Roslyn 分析器程序集)

文档

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • 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
1.0.0-alpha.3 0 9/18/2026
1.0.0-alpha.2 4 9/18/2026
1.0.0-alpha.1 36 9/16/2026