Skip to content

Analyzer: the translator's refusals as build errors, in 11.0.0 #31

Open

Description

@CaffeinatedCoder

Decided 2026-11-11 for 11.0.0, against the recommendation to wait for a minor. In preview.3, after #26. Plan, section 3.9.

Change

A Roslyn analyzer inside the kernel package (analyzers/dotnet/cs) reports, in a declaration lambda: an enum comparison, a literal with no portable spelling, a method outside the subset, an expression key on SQL Server, a function not marked immutable. It reads the translator's own tables. The run-time refusal stays.

Done when

A test holds that every construct the translator refuses at declaration is reported by the analyzer and every one it accepts is not, over the sweep's rows; the analyzer loads from the packed package in a consumer outside the repository.

Activity

  1. added this to the 11.0.0 milestone on Nov 11, 2026
  2. added
    enhancement
    package/core
    area/expression-indexes
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/expression-indexesenhancementpackage/core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions