AvalonStudio.Languages.CSharp.IndentationReformatter.IsSingleStatementKeyword C# (CSharp) Method

IsSingleStatementKeyword() private static method

private static IsSingleStatementKeyword ( string keyword ) : bool
keyword string
return bool
        private static bool IsSingleStatementKeyword(string keyword)
        {
            switch (keyword)
            {
                case "if":
                case "for":
                case "while":
                case "do":
                case "foreach":
                case "using":
                case "lock":
                    return true;

                default:
                    return false;
            }
        }