-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add api to allow customizing options per DiagnosticAnalyzer #80200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
CyrusNajmabadi
merged 90 commits into
dotnet:main
from
CyrusNajmabadi:compilationOptionsApi
Sep 12, 2025
Merged
Changes from 82 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
ab2b2de
remove CompilationPair to see waht breas
CyrusNajmabadi 1114e46
in progress
CyrusNajmabadi 2527492
Compiling
CyrusNajmabadi c37ee9e
Fix tests
CyrusNajmabadi a46e753
cleanup
CyrusNajmabadi b051d87
cleanup
CyrusNajmabadi 2c15ab0
cleanup
CyrusNajmabadi 8ab740e
cleanup
CyrusNajmabadi 522ba7f
cleanup
CyrusNajmabadi 750bb54
cleanup
CyrusNajmabadi 06838ce
cleanup
CyrusNajmabadi cb533f9
cleanup
CyrusNajmabadi 28b21a8
cleanup
CyrusNajmabadi 06364bc
cleanup
CyrusNajmabadi dabdd08
cleanup
CyrusNajmabadi 5273899
cleanup
CyrusNajmabadi 325cfbb
cleanup
CyrusNajmabadi 1583c82
Merge remote-tracking branch 'upstream/main' into noCompilationPair
CyrusNajmabadi ccae16c
Remove comments
CyrusNajmabadi 8ab1449
Merge branch 'main' into noCompilationPair
CyrusNajmabadi 10d5103
Merge branch 'main' into noCompilationPair
CyrusNajmabadi ceb530c
Fixtest
CyrusNajmabadi 7cf5a48
Merge
CyrusNajmabadi 6398a7b
Clean
CyrusNajmabadi a114a53
Rename
CyrusNajmabadi 48f563e
hide
CyrusNajmabadi 006d929
Docs
CyrusNajmabadi 5ff9b15
cleanup
CyrusNajmabadi bf367f6
cleanup
CyrusNajmabadi 22c861a
Cleanup
CyrusNajmabadi f4eab9a
Fix
CyrusNajmabadi 2180608
Fix keys
CyrusNajmabadi b1d93a6
Fix naming styles
CyrusNajmabadi 45c14ba
Fix test
CyrusNajmabadi d244d54
Simplify
CyrusNajmabadi e7e6930
Feed into compiler layer
CyrusNajmabadi c199b42
Compute up front
CyrusNajmabadi 6f8701b
Update APIs
CyrusNajmabadi 67b6539
in progress
CyrusNajmabadi cf08a44
IDE side
CyrusNajmabadi d9f15e9
Fix tests
CyrusNajmabadi 53511e0
Merge branch 'removeCodeOnlyCalledByTests' into noCompilationPairWith…
CyrusNajmabadi e508df7
Delete
CyrusNajmabadi 30ebad7
Simplify
CyrusNajmabadi 57f1490
Update
CyrusNajmabadi 649ea9d
Simplify
CyrusNajmabadi 0f8fdca
Use reference equality
CyrusNajmabadi 8be5be6
Merge branch 'removeCodeOnlyCalledByTests' into noCompilationPairWith…
CyrusNajmabadi e472d23
Add explicit test
CyrusNajmabadi d581b39
Add test
CyrusNajmabadi 3777db4
Fix
CyrusNajmabadi 9d4e4fa
Docs
CyrusNajmabadi 05b2b8e
Simplify
CyrusNajmabadi 733478e
Merge branch 'main' into noCompilationPairWithApiChange
CyrusNajmabadi c8134f4
remove
CyrusNajmabadi a711435
Use options provider
CyrusNajmabadi d140723
IDE side
CyrusNajmabadi 4ad5326
Use options provider
CyrusNajmabadi bde3304
Flesh out tests
CyrusNajmabadi 42f56a4
Merge tetts
CyrusNajmabadi a545545
Docs
CyrusNajmabadi f783d93
Merge remote-tracking branch 'upstream/main' into noCompilationPairWi…
CyrusNajmabadi 823a02d
renames
CyrusNajmabadi 1205eef
Update src/Tools/SemanticSearch/ReferenceAssemblies/Apis/Microsoft.Co…
CyrusNajmabadi e93dd41
REvert
CyrusNajmabadi e23e41a
Update src/Compilers/CSharp/Test/Emit3/Diagnostics/DiagnosticAnalyzer…
CyrusNajmabadi e60b0b3
Merge remote-tracking branch 'upstream/main' into compilationOptionsApi
CyrusNajmabadi 10efd55
One arg per line
CyrusNajmabadi 38b020e
Docs
CyrusNajmabadi 0a60001
Pass options around less
CyrusNajmabadi b20dc51
Use extension
CyrusNajmabadi 4c1808d
Use extension
CyrusNajmabadi 72f6a29
IN progress
CyrusNajmabadi cd30de1
Use analyzer specific options in more locations
CyrusNajmabadi 7ee1fd6
Remove
CyrusNajmabadi 811f0d9
Remove
CyrusNajmabadi c72cfc5
Remove
CyrusNajmabadi f0cb9d7
Fix tests
CyrusNajmabadi d70f51d
Fix tests
CyrusNajmabadi eb2f324
Fix tests
CyrusNajmabadi 5a6dd89
Fix tests
CyrusNajmabadi b7e535a
Fix tests
CyrusNajmabadi d9e9d9a
Simplify
CyrusNajmabadi cd6325d
simplify
CyrusNajmabadi 2d57345
Apply suggestions from code review
CyrusNajmabadi 5d65b24
Fixes
CyrusNajmabadi 5d4831b
Merge branch 'main' into compilationOptionsApi
CyrusNajmabadi 9dc329b
Move method
CyrusNajmabadi 4149c67
Doc
CyrusNajmabadi 1c82871
Update src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerDriver.cs
CyrusNajmabadi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test ensures that all callbacks get the right options instance if customized by teh host.