Analyzer 'WTG.Analyzers.CompletedTaskAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'.
Exception occurred with following context:
Compilation: VsnetUrl
System.NullReferenceException: Object reference not set to an instance of an object.
at WTG.Analyzers.CompletedTaskAnalyzer.HasCompletedTask(Compilation compilation)
at WTG.Analyzers.CompletedTaskAnalyzer.CompilationStart(CompilationStartAnalysisContext context)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info)
This project targets .NET Framework 3.5 so it may not even have the Task type.
This project targets .NET Framework 3.5 so it may not even have the
Task
type.