Mark all parameter names that match reserved keywords.
This commit is contained in:
parent
32368a8dc3
commit
0e9ec6824b
1 changed files with 2 additions and 4 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue