private static void CheckIf(SyntaxNodeAnalysisContext context, IfStatementSyntax ifStatement)
        {
            if (ifStatement.GetPrecedingIfsInConditionChain().Any())
            {
                return;
            }

            var lastStatementInIfChain = GetLastStatementInIfChain(ifStatement);
            if (IsStatementCandidateLoop(lastStatementInIfChain))
            {
                return;
            }

            CheckStatement(context, lastStatementInIfChain, "conditionally", "unconditionally");
        }
        private static void CheckIf(SyntaxNodeAnalysisContext context, IfStatementSyntax ifStatement)
        {
            if (ifStatement.GetPrecedingIfsInConditionChain().Any())
            {
                return;
            }

            if (IsNestedStatement(ifStatement.Statement))
            {
                return;
            }

            var lastStatementInIfChain = GetLastStatementInIfChain(ifStatement);
            if (IsStatementCandidateLoop(lastStatementInIfChain))
            {
                return;
            }

            CheckStatement(context, lastStatementInIfChain, "conditionally", "unconditionally");
        }