+2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
+ * TemplateParser.cs: Adding support for Strict/Explicit attributes
+ for @Page/@Control directives as documented at
+ http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
+ First step don't choke on them. Fixing #74671
+
2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
bool debug;
string compilerOptions;
string language;
+ bool strictOn = false;
+ bool explicitOn = false;
bool output_cache;
int oc_duration;
string oc_header, oc_custom, oc_param, oc_controls;
debug = GetBool (atts, "Debug", true);
compilerOptions = GetString (atts, "CompilerOptions", "");
language = GetString (atts, "Language", CompilationConfig.DefaultLanguage);
+ strictOn = GetBool (atts, "Strict", CompilationConfig.Strict);
+ explicitOn = GetBool (atts, "Explicit", CompilationConfig.Explicit);
string src = GetString (atts, "Src", null);
if (src != null)
srcAssembly = GetAssemblyFromSource (src);
get { return language; }
}
+ internal bool StrictOn {
+ get { return strictOn; }
+ }
+
+ internal bool ExplicitOn {
+ get { return explicitOn; }
+ }
+
internal bool Debug {
get { return debug; }
}