Feedback
Correct ByRef syntax in executable TryParse documentation examples
- Status
- Fixed
- Fixed in
- v26.11.4
- Area
- docs
- Source discussion
- -
- Last updated
- 2026-11-16
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
A documentation example calls Integer.TryParse(text, ByRef result), which fails to compile with "Unexpected token 'ByRef'." The invocation should be Integer.TryParse(text, result); ByRef belongs in the parameter declaration, not at the call site.
Correct executable examples and make the distinction between a method signature and a call clear so developers can use the documented parsing pattern successfully.