KirillOsenkov / XmlParser

A Roslyn-inspired full-fidelity XML parser with no dependencies and a simple Visual Studio XML language service
Apache License 2.0
328 stars 49 forks source link

Allow external translations #28

Closed garuma closed 4 years ago

garuma commented 4 years ago

Add a new overload of GetString to DiagnosticInfo that accepts a ResourceManager instance that will be used to query for the error message description.

This allows translations or other error message customizations to be done in another resource file outside XmlParser.