Cannot create source analyzer base class

Jun 28, 2010 at 8:36 PM

Hi!

I have a problem with creating abstract class based on SourceAnalyzer - this should be my base class for other analyzers...

The exception occurs while loading my addin somewhere in InitializeAddIn method.

I suspect it happens because LoadAddIns method checks only if a class is based on SourceAnalyzer class and does not check if the class is abstract or not.

Additionally the StyleCopAddIn attribute is already applied to base class of SourceAnalyzer, so the InitializeAddIn will not return null.

Is there any solution available for this ?

Thanks

Wojtek