I have started a youtube channel called Learn Roslyn by example, and have published the first video. This video will help you get started with writing a Roslyn analyzer.
Roslyn is a new C# compiler built by Microsoft and it enables us not just to compile C# code but to do much more like creating code analyzers in Visual Studio, creating refactorings, and much more.
Here is the link to the first video: https://youtu.be/Hu_rtcNoVgc