Closed andrewhongnsw closed 1 year ago
System.NullReferenceException: Object reference not set to an instance of an object.
at WTG.Analyzers.FileSystemPathsAnalyzer.HasPathCombineMulti(Compilation compilation)
at WTG.Analyzers.FileSystemPathsAnalyzer.CompilationStart(CompilationStartAnalysisContext context)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info)
This may have been already fixed in 120ebc5.
Fixed by upgrading to package version 3.7.1 (newest) - we were previously consuming package version 2.10.6.
In some circumstances the FileSystemPaths analyzer (WTG2008) throws a NullReferenceException inside the HasPathCombineMulti(). Will send details via another means.