System.Data.Common.EntitySql.CqlLexer.IsLetter(char)

Here are the examples of the csharp api class System.Data.Common.EntitySql.CqlLexer.IsLetter(char) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: referencesource
Source File: CqlLexerHelpers.cs
View license
internal static bool IsLetterOrDigitOrUnderscore(string symbol, out bool isIdentifierASCII)
        {
            isIdentifierASCII = true;
            for (int i = 0; i < symbol.Length; i++)
            {
                isIdentifierASCII = isIdentifierASCII && symbol[i] < 0x80;
                if (!isIdentifierASCII && !IsLetter(symbol[i]) && !IsDigit(symbol[i]) && (symbol[i] != '_'))
                {
                    return false;
                }
            }
            return true;
        }