Fix error message to match others
Add magic token for path replacement
New test
Fix loading of documentation XML fragments to use source file and not process path
Expand params arguments only when not binding directly parameter types. Fixes #10551
Clean up params binder
Add static to static like type
Optimize parameters handling to do much less allocation