-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Pass in the "isGeneratedCode" flag from editorconfig options into syn… #40330
Pass in the "isGeneratedCode" flag from editorconfig options into syn… #40330
Conversation
…tax tree parse APIs in command line compiler and IDE syntax tree factory service. Builds on top of dotnet#39051 Addresses dotnet#3705
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.
Everything looks good except for the test: it seems like it's testing all the compiler or Workspace implementation APIs directly and thus not really testing the Workspace itself. For example, I wouldn't expect a test to be directly calling the syntax tree factories unless they're doing some specific memory testing around them. Seems like a better end-to-end test exists using the public APIs only like our other .editorconfig tests.
...Workspaces/Core/Portable/GeneratedCodeRecognition/AbstractGeneratedCodeRecognitionService.cs
Show resolved
Hide resolved
src/Workspaces/VisualBasic/Portable/LanguageServices/VisualBasicSyntaxTreeFactoryService.vb
Show resolved
Hide resolved
…d-code' into ConsumeGeneratedCodeApi
@dotnet/roslyn-compiler This is ready for review. Thanks! |
src/Compilers/Core/Portable/InternalUtilities/GeneratedCodeUtilities.cs
Outdated
Show resolved
Hide resolved
src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerDriver.cs
Outdated
Show resolved
Hide resolved
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.
Compiler changes LGTM.
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.
LGTM Thanks (iteration 7)
All CI passed. Overriding checks to merge. |
…tax tree parse APIs in command line compiler and IDE syntax tree factory service and IGeneratedCodeRecognitionService.
Builds on top of #39051
Addresses #3705