diff options
Diffstat (limited to 'mcs/class/referencesource/System.Web/UI/WebParts/WebPartManager.cs')
-rw-r--r-- | mcs/class/referencesource/System.Web/UI/WebParts/WebPartManager.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/referencesource/System.Web/UI/WebParts/WebPartManager.cs b/mcs/class/referencesource/System.Web/UI/WebParts/WebPartManager.cs index 25d9bb1c410..c5b3495230e 100644 --- a/mcs/class/referencesource/System.Web/UI/WebParts/WebPartManager.cs +++ b/mcs/class/referencesource/System.Web/UI/WebParts/WebPartManager.cs @@ -571,7 +571,7 @@ if (zoneElement != null) {{ } // Only call PermitOnly() in legacy CAS mode. In the v4 CAS model, calling PermitOnly() would prevent us from calling - // Activator.CreateInstance() on types in App_Code (assuming it is non-APTCA). (Dev10 + // Activator.CreateInstance() on types in App_Code (assuming it is non-APTCA). (Dev10 Bug 807117) private bool UsePermitOnly { get { if (!_usePermitOnly.HasValue) { @@ -1584,8 +1584,8 @@ if (zoneElement != null) {{ StaticConnections.SetReadOnly(SR.WebPartManager_StaticConnectionsReadOnly); // The user can't directly change the DynamicConnections property since it is internal. - // Make it read-only in case we have a - + // Make it read-only in case we have a bug and try to change it after activation. + // We check the read-only status of this collection in ConnectWebParts() and DisconnectWebParts(). DynamicConnections.SetReadOnly(SR.WebPartManager_DynamicConnectionsReadOnly); return (WebPartConnection[])finalConnectionsToActivate.ToArray(typeof(WebPartConnection)); @@ -2691,7 +2691,7 @@ if (zoneElement != null) {{ /// <devdoc> /// Never throws except for null arguments. Returns an error message in the out parameter instead. - /// [Microsoft] I investigated whether this could be refactored to share common code with + /// [[....]] I investigated whether this could be refactored to share common code with /// LoadDynamicWebPart(), but it seems the methods are too different. /// </devdoc> public virtual WebPart ImportWebPart(XmlReader reader, out string errorMessage) { |