The impact of the car seems very minor. (Although obviously never again ).
System.Web.UI.TemplateParser, ImportSourceFile, , Never:
if (this.CompilationMode == CompilationMode.Never)
{
return null;
}
, , , , . , TemplateParser, , ParseStringInternal , <%:
if (!this.flags[2] && (match = BaseParser.aspCodeRegex.Match(text, startat)).Success)
{
string str3 = match.Groups["code"].Value.Trim();
if (str3.StartsWith("$", StringComparison.Ordinal))
{
this.ProcessError(SR.GetString("ExpressionBuilder_LiteralExpressionsNotAllowed", new object[] { match.ToString(), str3 }));
}
else
{
this.ProcessCodeBlock(match, CodeBlockType.Code, text);
}
}
BaseParser.aspCodeRegex, :
public AspCodeRegex()
{
base.pattern = @"\G<%(?!@)(?<code>.*?)%>";
...
}
, . - - - , .