Have RoslynAnalyzers reference shared utilities/extensions from Roslyn layer itself.#79030
Merged
CyrusNajmabadi merged 204 commits intodotnet:mainfrom Jun 25, 2025
Merged
Have RoslynAnalyzers reference shared utilities/extensions from Roslyn layer itself.#79030CyrusNajmabadi merged 204 commits intodotnet:mainfrom
CyrusNajmabadi merged 204 commits intodotnet:mainfrom
Conversation
Fix more Update versions Fix more In progress Flip Fix Fix remove wrapper Fix Fix in progress Fix DeclarationKind layering fix One building In progress Breaking out refactoring helpers into core api vs service VB side In progress Move type workaround Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/CSharpCompilerExtensions.projitems Fix SubText ctor parameter verification. (dotnet#78989) * Fix SubText ctor parameter verification. This ctor currently throws given a zero length span at the end (and only the end) of the subtext. This evidently became far more prevalent with this (fairly) recent change to optimize newline information in our sourcetext classes. (dotnet#74728) It doesn't make to allow zero length spans at all locations but at the end of the subtext, so the fix is just to allow construction in that case too. Big props to Manish Vasani for providing a very actionable repro for this. Fixes dotnet#78985. Note there is a potentially related issue outlined in dotnet#76225 that looks attributable to the PR above too. It possible that this addresses that issue too, but I'm not completely convinced. Extensions: bind unconditionally of LangVer (dotnet#78947) Extensions: use specific tracking issues for different areas (second pass) (dotnet#78971) Fix nullable analysis involving extensions and collection expressions (dotnet#78926) Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/CSharpCompilerExtensions.projitems in progrss Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/CompilerExtensions.projitems Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/VisualBasicCompilerExtensions.projitems extensions Fix RootNamespace Fixes Fixes IN progress in progress
JoeRobich
reviewed
Jun 24, 2025
src/RoslynAnalyzers/Utilities/Compiler/Analyzer.Utilities.projitems
Outdated
Show resolved
Hide resolved
JoeRobich
reviewed
Jun 24, 2025
| catch | ||
| catch (Exception ex) | ||
| { | ||
| Console.WriteLine($"Error processing analyzer file reference: {ex.Message}\r\n{ex}"); |
Member
There was a problem hiding this comment.
If we keep this, it would be useful to include Path.GetFileName(analyzerFileReference.FullPath) in the message.
…items Co-authored-by: Joey Robichaud <joseph.robichaud@microsoft.com>
… into analyzerWork
JoeRobich
reviewed
Jun 25, 2025
...alyzers/Tools/GenerateDocumentationAndConfigFiles/GenerateDocumentationAndConfigFiles.csproj
Show resolved
Hide resolved
JoeRobich
approved these changes
Jun 25, 2025
This was referenced Jun 27, 2025
This was referenced Dec 6, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Have RoslynAnalyzers reference shared utilities/extensions from Roslyn layer itself.