Use Parameter.RawName when accessing the spec xml files (these files are platform-agnostic, so parameter names are not escaped!)

This commit is contained in:
the_fiddler 2011-12-05 11:52:28 +00:00
parent 154ce76303
commit e8b53ade10

View file

@ -189,7 +189,7 @@ namespace Bind
if (function_override != null)
{
XPathNavigator param_override = function_override.SelectSingleNode(
String.Format("param[@name='{0}']", d.Parameters[i].Name));
String.Format("param[@name='{0}']", d.Parameters[i].RawName));
if (param_override != null)
{
foreach (XPathNavigator node in param_override.SelectChildren(XPathNodeType.Element))