public void GetTextGetKind(string text, SyntaxKind kind) { Assert.Equal(kind, SyntaxFacts.GetKind(text)); if (kind != None) { Assert.Equal(text, SyntaxFacts.GetText(kind), ignoreCase: true); Assert.Equal(kind, SyntaxFacts.GetKind(SyntaxFacts.GetText(kind))); Assert.Equal(text, SyntaxFacts.GetText(SyntaxFacts.GetKind(text)), ignoreCase: true); } }