AvalonStudio.Languages.CSharp.IndentationReformatter.IsSingleStatementKeyword C# (CSharp) 메소드

IsSingleStatementKeyword() 개인적인 정적인 메소드

private static IsSingleStatementKeyword ( string keyword ) : bool
keyword string
리턴 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;
            }
        }