We can use Roslyn (Microsoft CodeAnalysis) to get the nullability context. But the NullableContext struct often indicates that the nullable context is inherited from the project default. In an analyzer, I thus need to determine the project default nullable context. I have not figured out a way to do this from the compilation object or the semantic model.
Is there some way to do this?