Skip to content

[ci-scan] Build break: CS0246 InvalidCSharp in ByRefLike/Validate.csproj (minifullaot) #85

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1425947
Build error leg or test failing: linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot - Build Tests

Error Details

The Validate.csproj test under src/tests/Loader/classloader/generics/ByRefLike/ fails to compile in the minifullaot runtime variant because it cannot find the InvalidCSharp namespace/type. This build break affects the MiniFullAot RuntimeTests job on linux-x64 in the runtime-extra-platforms pipeline (definition 154).

The issue started in build 1425947 (2026-05-19) and has persisted through the entire scanned window (9+ consecutive builds).

error CS0246: The type or namespace name 'InvalidCSharp' could not be found (are you missing a using directive or an assembly reference?) [src/tests/Loader/classloader/generics/ByRefLike/Validate.csproj]

Affected legs:

  • runtime-extra-platforms (def 154): linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot

First build it occurred: 1425947 (2026-05-19). Persistent across the entire scanned window; true origin may predate 2026-05-19.

Error Message

{
  "ErrorMessage": "error CS0246: The type or namespace name 'InvalidCSharp' could not be found (are you missing a using directive or an assembly reference?) [/___w/1/s/src/tests/Loader/classloader/generics/ByRefLike/Validate.csproj]",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Note

🔒 Integrity filter blocked 1 item

The following item was blocked because it doesn't meet the GitHub integrity level.

  • #125825 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 81.2M ·

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions