diff options
Diffstat (limited to 'mcs/class/referencesource/System.Web/Compilation/BuildResult.cs')
-rw-r--r-- | mcs/class/referencesource/System.Web/Compilation/BuildResult.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mcs/class/referencesource/System.Web/Compilation/BuildResult.cs b/mcs/class/referencesource/System.Web/Compilation/BuildResult.cs index a47485862c8..c3b929cb1f1 100644 --- a/mcs/class/referencesource/System.Web/Compilation/BuildResult.cs +++ b/mcs/class/referencesource/System.Web/Compilation/BuildResult.cs @@ -341,7 +341,7 @@ internal abstract class BuildResult { // Don't check more than every two seconds DateTime now = DateTime.Now; - // Due to + // Due to bug 214038, CBM can be called multiple times in a very short time. if (now < _nextUpToDateCheck && !BuildManagerHost.InClientBuildManager) { Debug.Trace("BuildResult", "IsUpToDate: true since called less than 2 seconds ago. " + _nextUpToDateCheck + "," + now); @@ -503,11 +503,11 @@ internal abstract class BuildResultCompiledAssemblyBase: BuildResult { } } - // DevDiv - - - - + // DevDiv Bug 98735 + // Go through the assembly and all references (including deeper levels) to make sure that + // each referenced assembly exists and does not have a dot delete. + // If any referenced assembly is removed or marked for deletion, + // we invalidate the base assembly by throwing an InvalidOperationException private static void CheckAssemblyIsValid(Assembly a, Hashtable checkedAssemblies) { // Keep track of which assemblies we already checked so we can skip them @@ -1036,9 +1036,9 @@ internal abstract class BuildResultNoCompileTemplateControl : BuildResult, IType try { // Create the control tree - // DevDiv - - + // DevDiv Bug 59351 + // Lock during the first time we initialize the control builder with the object, + // to prevent concurrency issues. if (!_initialized) { lock (this) { _rootBuilder.InitObject(templateControl); |