Skip to content

Compile probes drive the compiler of the released SDK #15

Open

Description

@CaffeinatedCoder

Problem

The probes compile each forbidden declaration in-process with Microsoft.CodeAnalysis.CSharp 5.12.0-1.26504.105, the compiler of the rc.2 SDK, from the dotnet-tools feed. nuget.org's newest is 5.9.0, which gets exhaustiveness across assemblies wrong. So the claim "does not compile" is proven for rc.2's compiler, not for the one a consumer of .NET 11.0.100 has. 72 of 72 pass that way on 2026-11-11.

Change

Take the compiler from the SDK that builds the project (its Roslyn/bincore assemblies), or pin the released build once it is on a feed, and say which in nuget.config.

Done when

The probes fail when run against a compiler that mishandles one of them, shown once by pointing them at 5.9.0.

Activity

  1. added this to the 11.0.0 milestone on Nov 11, 2026
  2. added
    tests
    area/release
    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/releasetests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions