Skip to content

Expose IsAssignableTo from SemanticModel #9461

@ghost

Description

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.

Metadata

Metadata

Assignees

Labels

Area-CompilersConcept-APIThis issue involves adding, removing, clarification, or modification of an API.Feature RequestResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions