TextParser.Parser.IsPartOfKeywordInvalid C# (CSharp) Method

IsPartOfKeywordInvalid() private method

Checks if the given character is part of a string or comment separator.
private IsPartOfKeywordInvalid ( char c ) : bool
c char
return bool
        private bool IsPartOfKeywordInvalid(char c)
        {
            int index = Convert.ToInt32(c);

            if(index > 0 && index < 256) {
                return keywordInvalid[index];
            }

            return false;
        }