diff --git a/doc/csharp-target.md b/doc/csharp-target.md index a869a82f6..e2551aa7a 100644 --- a/doc/csharp-target.md +++ b/doc/csharp-target.md @@ -86,7 +86,7 @@ In order to execute this listener, you would simply add the following lines to t ... IParseTree tree = parser.StartRule() - only repeated here for reference KeyPrinter printer = new KeyPrinter(); -ParseTreeWalker.DEFAULT.walk(printer, tree); +ParseTreeWalker.Default.Walk(printer, tree); ``` Further information can be found from The Definitive ANTLR Reference book.