Analyzers and Fixes to check if event is null before fire it.

@giggio @carloscds @viniciushana I created two analyzers to fire events. One for C# 6 and other for previous versions.
if (typeInfo.ConvertedType?.BaseType == null) return;