Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate ExportAttribute types #40

Open
sharwell opened this issue May 9, 2015 · 1 comment
Open

Validate ExportAttribute types #40

sharwell opened this issue May 9, 2015 · 1 comment

Comments

@sharwell
Copy link
Member

sharwell commented May 9, 2015

This analyzer would report the following as an error, because SomeType is not a IService:

[Export(typeof(IService))]
public class SomeType
{
}
@hmemcpy
Copy link

hmemcpy commented May 9, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants