Permalink
Browse files

Use Parameter.RawName when accessing the spec xml files (these files …

…are platform-agnostic, so parameter names are not escaped!)

git-svn-id: https://opentk.svn.sourceforge.net/svnroot/opentk/trunk@3094 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
  • Loading branch information...
1 parent a1c8bdf commit 698aecce2f9ebe4ac35aa88dda581475517f5b6a the_fiddler committed Dec 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Bind/FuncProcessor.cs
@@ -189,7 +189,7 @@ static void TranslateParameters(XPathNavigator nav, Delegate d, EnumCollection e
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))

0 comments on commit 698aecc

Please sign in to comment.