-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-CompilersConcept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Feature Requestapi-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implemented
Milestone
Description
There is no way to determine from a symbol given an IMethodSymbol whether the method is implemented as an iterator. There is an internal interface IMethodSymbolInternal which exposes an IsIterator property (see http://source.roslyn.io/#Microsoft.CodeAnalysis/Symbols/IMethodSymbolInternal.cs,c8f15f835b2ac0d4), but I can't see any way to access it from the public surface area. Can this be exposed via some public contract?
Metadata
Metadata
Assignees
Labels
Area-CompilersConcept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Feature Requestapi-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implemented