public static bool IsJSLineTerminator(int c)
{
// Optimization for faster check for eol character:
// they do not have 0xDFD0 bits set
if ((c & unchecked((int)(0xDFD0))) != 0)
{
return false;
}
return c == '\n' || c == '\r' || c == unchecked((int)(0x2028)) || c == unchecked((int)(0x2029));
}