public static string CreateEscapedIdentifier(string name) { // Any identifier started with two consecutive underscores are // reserved by CSharp. if (IsKeyword(name) || IsPrefixTwoUnderscore(name)) { return "@" + name; } return name; }