From 68fcad4929fa9931faf115d2bb1a27a06e66b3dd Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 9 Aug 2009 17:47:15 +0000 Subject: [PATCH] Parameter name "event" is not allowed in .Net. Replaced with "@event". --- Source/Bind/Structures/Parameter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Bind/Structures/Parameter.cs b/Source/Bind/Structures/Parameter.cs index 32bd4a91..1dd287f0 100644 --- a/Source/Bind/Structures/Parameter.cs +++ b/Source/Bind/Structures/Parameter.cs @@ -329,6 +329,8 @@ namespace Bind.Structures if (Name == "params") Name = "@params"; + if (Name == "event") + Name = "@event"; // This causes problems with bool arrays //if (CurrentType.ToLower().Contains("bool"))