Overview
Add Roslyn-based static code analysis to catch bugs at compile time. The infrastructure is already partially wired up (FxCopAnalyzers referenced but disabled).
Sub-tasks
Context
Many bugs fixed in this pre-release cycle (ResolveThrow crashes, typeof().GetMethod() mscorlib mismatch, unhandled ReflectionTypeLoadException) could be caught automatically by analyzers.
Overview
Add Roslyn-based static code analysis to catch bugs at compile time. The infrastructure is already partially wired up (FxCopAnalyzers referenced but disabled).
Sub-tasks
Context
Many bugs fixed in this pre-release cycle (ResolveThrow crashes, typeof().GetMethod() mscorlib mismatch, unhandled ReflectionTypeLoadException) could be caught automatically by analyzers.