-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Area-AnalyzersArea-CompilersFeature - IOperationIOperationIOperationFeature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Description
Currently, an analyzer can register an operation block action and get hold of all operation blocks for each symbol that has an associated executable code block. This issue tracks exposing a convenience API for non-analyzer clients to get operations blocks for a given symbol.
See second bullet point in Essentials section in the comment from @bkoelman here: #27208 (comment)
An API to get operation block(s) from an IMethodSymbol. My current solution via syntax is tedious and probably incomplete. A reliable API that works on symbols for methods, fields and other places that may contain a code block (and which works for both blocks and expression bodies) would be very welcome.
jnm2
Metadata
Metadata
Assignees
Labels
Area-AnalyzersArea-CompilersFeature - IOperationIOperationIOperationFeature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it