-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expose IsAssignableTo from SemanticModel #9461
Copy link
Copy link
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 RequestResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedThe bug has been fixed and/or the requested behavior has been implemented
Milestone
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 RequestResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedThe bug has been fixed and/or the requested behavior has been implemented
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is used by two analyzers and about to be used by a third one. Because it is implemented differently in C# and VB, you can't just make a helper method out of it in Analyzer.Utilities. Rather, each analyzer that needs it needs to have a base class that does almost all the work, and then C# and VB derived classes whose only purpose is to copy the implementation of IsAssignableTo from Roslyn.