Mark all parameter names that match reserved keywords.

This commit is contained in:
the_fiddler 2010-10-12 17:35:40 +00:00
parent 32368a8dc3
commit 0e9ec6824b

View file

@ -328,10 +328,8 @@ namespace Bind.Structures
if (Reference)
WrapperType |= WrapperTypes.ReferenceParameter;
if (Name == "params")
Name = "@params";
if (Name == "event")
Name = "@event";
if (Utilities.Keywords.Contains(Name))
Name = "@" + Name;
// This causes problems with bool arrays
//if (CurrentType.ToLower().Contains("bool"))