We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a56a5 commit 38f2fb3Copy full SHA for 38f2fb3
Google.Api.Generator.Utils/Roslyn/Keywords.cs
@@ -97,7 +97,13 @@ public static class Keywords
97
"virtual",
98
"void",
99
"volatile",
100
- "while"
+ "while",
101
+
102
+ // Not actually keywords, but represent special reserved names in the generated libraries that should be escaped like keywords.
103
+ "Google",
104
+ "google",
105
+ "Service",
106
+ "service"
107
);
108
109
public static string PrependAtIfKeyword(string word) => IsKeyword(word) ? $"@{word}" : word;
0 commit comments