//
using System;
using System.Collections;
+using System.Globalization;
using System.Web.UI;
namespace System.Web.Compilation
return generator.GetCompiledType ();
}
- protected override void CreateMethods ()
+ protected internal override void CreateMethods ()
{
base.CreateMethods ();
-
+#if NET_2_0
+ CreateProfileProperty ();
+#endif
+
ProcessObjects (parser.RootBuilder);
}
continue;
}
- if (tag.Scope == "session") {
+ if (String.Compare (tag.Scope, "session", true, CultureInfo.InvariantCulture) == 0) {
sessionObjectTags.Add (tag);
CreateApplicationOrSessionPropertyForObject (tag.Type, tag.ObjectID,
false, false);
- } else if (tag.Scope == "application") {
+ } else if (String.Compare (tag.Scope, "application", true, CultureInfo.InvariantCulture) == 0) {
applicationObjectTags.Add (tag);
CreateFieldForObject (tag.Type, tag.ObjectID);
CreateApplicationOrSessionPropertyForObject (tag.Type, tag.ObjectID,