[Analyzer Proposal]: Propagate StringSyntaxAttribute #110305
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Runtime.CompilerServices
code-analyzer
Marks an issue that suggests a Roslyn analyzer
untriaged
New issue has not been triaged by the area owner
Background and motivation
StringSyntaxAttribute
was introduced to support IDE highlighting scenarios, such as Regex.Often, users have existing helper methods that may be forwarding a parameter to a method (likely a BCL method, e.g Regex.IsMatch) that has the attribute, but the user doesn't add the attribute.
API Proposal
An analyzer is introduced that will analyze invocations and roughly have the following functionality
API Usage
N/A
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: