Microsoft.VisualStudio.Project.TokenProcessor.IsValidIdentifierChar C# (CSharp) Méthode

IsValidIdentifierChar() private méthode

private IsValidIdentifierChar ( char c ) : bool
c char
Résultat bool
        protected static bool IsValidIdentifierChar(char c)
        {
            if((c >= 'a') && (c <= 'z'))
            {
                return true;
            }
            if((c >= 'A') && (c <= 'Z'))
            {
                return true;
            }
            if(c == '_')
            {
                return true;
            }
            if((c >= '0') && (c <= '9'))
            {
                return true;
            }

            return false;
        }