freebsd-ports/lang/mono/files/patch-mcs_class_System.Web_System.Web.Compilation_AspParser.cs
Tom McLaughlin 397293d67b Update to 1.2.3.1
- 1,933 missing methods were implemented
- 164 methods with pending implementations were fixed
- Several critical fixes to the runtime startup affecting multi-threaded
  applications
- Windows.Forms improvements and bugfixes

Submitted by:	Phillip Neumann
Project by:	BSD# <http://www.mono-project.com/Mono:FreeBSD>
2007-03-17 03:48:02 +00:00

17 lines
613 B
C#

--- mcs/class/System.Web/System.Web.Compilation/AspParser.cs.orig Fri Dec 29 22:13:43 2006
+++ mcs/class/System.Web/System.Web.Compilation/AspParser.cs Fri Dec 29 22:14:41 2006
@@ -454,8 +454,12 @@
tokenizer.Verbatim = false;
id = inside_tags;
attributes = null;
- tagtype = (databinding ? TagType.DataBinding :
- (varname ? TagType.CodeRenderExpression : TagType.CodeRender));
+ if (databinding)
+ tagtype = TagType.DataBinding;
+ else if (varname)
+ tagtype = TagType.CodeRenderExpression;
+ else
+ tagtype = TagType.CodeRender;
}
public event ParseErrorHandler Error;