Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.Web/RootedObjects.cs')
-rw-r--r--mcs/class/referencesource/System.Web/RootedObjects.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/System.Web/RootedObjects.cs b/mcs/class/referencesource/System.Web/RootedObjects.cs
index 519e1a7b93e..8fbef1b6671 100644
--- a/mcs/class/referencesource/System.Web/RootedObjects.cs
+++ b/mcs/class/referencesource/System.Web/RootedObjects.cs
@@ -164,9 +164,9 @@ namespace System.Web {
}
}
- // Fix
-
-
+ // Fix Bug 640366: Setting the Principal to null (irrespective of Identity)
+ // only if framework version is above .NetFramework 4.5 as this change is new and
+ // we want to keep the functionality same for previous versions.
if (BinaryCompatibility.Current.TargetsAtLeastFramework45) {
Principal = null;
}