* AspGenerator.cs: now the Inherits attribute works as expected for
global.asax file.
svn path=/trunk/mcs/; revision=12852
throw new ApplicationException ("@Application not allowed.");
string inherits = att ["inherits"] as string;
- if (inherits != null)
- Options ["Inherits"] = inherits;
+ if (inherits != null) {
+ parent = inherits;
+ parentType = LoadParentType (parent);
+ if (parentType == null)
+ throw new ApplicationException ("The class " + parent + " cannot be found.");
+ }
main_directive = directive.TagID;
break;
+2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * AspGenerator.cs: now the Inherits attribute works as expected for
+ global.asax file.
+
2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CompilationException.cs: