Skip to content

Create MEF analyzer that ensures exports are placed on supported types #11

Description

@kzu

For example, you could put a [Theme] attribute on a type (or property) that is not
of the expected target type ColorScheme, and this would only "fail" at run-time with
an invalid cast exception, which is clearly a bad experience.

The goal of this analyzer is to make the ThemeAnalyer general-purpose, so it can
diagnose any ExportAttribute-derived attribute and provide compile-time errors.

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions