2 references to IsReservedKeyword
CSharpSyntaxGenerator (2)
Grammar\GrammarGenerator.cs (1)
151var keywords = JoinWords(GetMembers<SyntaxKind>().Where(k => SyntaxFacts.IsReservedKeyword(k)).Select(SyntaxFacts.GetText).Where(t => !modifierWords.Contains(t)));
src\Compilers\CSharp\Portable\Syntax\SyntaxKindFacts.cs (1)
15return IsReservedKeyword(kind) || IsContextualKeyword(kind);