Red underline code but application working

I have red underline code but application is building and working in visual studio i don't have this underline wtf?

and error "The type 'PersonDataCreated' must be convertible to 'BaseDomainEvent' in order to use it as parameter 'T' in the generic interface 'EventHandler<in T>'"

I have similar implementation in different project and i don't have this underline

This is bug of Rider?


Hello Krzysztof, can you try clearing caches via File | Invalidate Cache? If it does not help, please collect the logs via Help | Collect Logs and send them to us with a new issue on our tracker? Thank you in advance!


I will report an issue 


Please sign in to leave a comment.