diff --git a/doc/csharp-target.md b/doc/csharp-target.md index e2551aa7a..02a56b69c 100644 --- a/doc/csharp-target.md +++ b/doc/csharp-target.md @@ -36,7 +36,7 @@ using Antlr4.Runtime.Tree; public void MyParseMethod() { String input = "your text to parse here"; - ICharStream stream = CharStreams.fromstring(input); + ICharStream stream = CharStreams.fromString(input); ITokenSource lexer = new MyGrammarLexer(stream); ITokenStream tokens = new CommonTokenStream(lexer); MyGrammarParser parser = new MyGrammarParser(tokens);