private static void WithEnabledImplicitNullability(BaseTest baseTest, Action action)
        {
            baseTest.ExecuteWithinSettingsTransaction(settings =>
            {
                baseTest.RunGuarded(() => settings.EnableImplicitNullabilityForAllCodeElements());

                action();
            });
        }