There are code paths in AbstractFlowPass<,> and derived classes that assume (or should be able to assume) AbstractFlowPass<,>.compilation is non-null, although that is not always the case.
See #59093.
See also DefiniteAssignment.GetSourceAssembly() which could be simplified to => compilation.SourceAssembly (see #59069 (comment)).
Update callers to ensure AbstractFlowPass<,> is always constructed with a non-null CSharpCompilation instance.
There are code paths in
AbstractFlowPass<,>and derived classes that assume (or should be able to assume)AbstractFlowPass<,>.compilationis non-null, although that is not always the case.See #59093.
See also
DefiniteAssignment.GetSourceAssembly()which could be simplified to=> compilation.SourceAssembly(see #59069 (comment)).Update callers to ensure
AbstractFlowPass<,>is always constructed with a non-nullCSharpCompilationinstance.