Skip to content

Unused analyzers: disable in VS when file has errors#19892

Merged
T-Gro merged 6 commits into
dotnet:mainfrom
auduchinok:noUnusedOpensVs
Jun 12, 2026
Merged

Unused analyzers: disable in VS when file has errors#19892
T-Gro merged 6 commits into
dotnet:mainfrom
auduchinok:noUnusedOpensVs

Conversation

@auduchinok

@auduchinok auduchinok commented Jun 4, 2026

Copy link
Copy Markdown
Member

An alternative take on #19854.

The FCS APIs work correctly with the check results they are passed in, so the decision on whether to call them should be done on the client side.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

❗ Release notes required

You can open this PR in browser to add release notes: open in github.dev


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/11.0.100.md
vsintegration/src docs/release-notes/.VisualStudio/18.vNext.md

@github-actions github-actions Bot added the AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files label Jun 4, 2026
@auduchinok auduchinok added NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes and removed NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes labels Jun 4, 2026
@auduchinok

auduchinok commented Jun 4, 2026

Copy link
Copy Markdown
Member Author

@T-Gro This is ready. Feel free to add VS-specific tests to this branch, like the ones in the other PR.

@T-Gro

T-Gro commented Jun 12, 2026

Copy link
Copy Markdown
Member

OK I agree this is better if VS is the only editor interested into it 👍 . Thank you!

@T-Gro T-Gro enabled auto-merge (squash) June 12, 2026 15:41
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Jun 12, 2026
@T-Gro T-Gro merged commit 9ceee64 into dotnet:main Jun 12, 2026
50 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Jun 12, 2026
T-Gro added a commit that referenced this pull request Jun 15, 2026
Branch was behind main again. Auto-merge resolved IlxGen.fs, Optimizer.fs,
TypedTreeOps.ExprConstruction.fs, and one baseline cleanly.

Verified post-merge: SEQ=PAR FCS.dll byte-identical, sin/abs quotation passes.

(#19928)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants