CodeBox.CodeLexer.TokenList.IsKeyword C# (CSharp) Method

IsKeyword() private method

private IsKeyword ( string identifier ) : bool
identifier string
return bool
        private bool IsKeyword(string identifier)
        {
            foreach (string s in keywords)
                if (s == identifier)
                    return true;

            return false;
        }