Просмотр исходного кода

2007-08-06 Marek Habersack <[email protected]>

	* AspComponentFoundry.cs: properly add new foundry if the
	corresponding entry in the foundries collection is a Queue. Patch
	from Juraj Skripsky <[email protected]>, thanks! Fixes bug #82285.

svn path=/trunk/mcs/; revision=83524
Marek Habersack 18 лет назад
Родитель
Сommit
6ca820d90f

+ 1 - 1
mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs

@@ -168,7 +168,7 @@ namespace System.Web.Compilation
 			if (f is CompoundFoundry) {
 				((CompoundFoundry) f).Add (foundry);
 				return;
-			} else if (f == null || (f is AssemblyFoundry && foundry is AssemblyFoundry)) {
+			} else if (f == null || f is Queue || (f is AssemblyFoundry && foundry is AssemblyFoundry)) {
 				newFoundry = foundry;
 			} else if (f != null) {
 				CompoundFoundry compound = new CompoundFoundry (foundryName);

+ 6 - 0
mcs/class/System.Web/System.Web.Compilation/ChangeLog

@@ -1,3 +1,9 @@
+2007-08-06  Marek Habersack  <[email protected]>
+
+	* AspComponentFoundry.cs: properly add new foundry if the
+	corresponding entry in the foundries collection is a Queue. Patch
+	from Juraj Skripsky <[email protected]>, thanks! Fixes bug #82285.
+
 2007-07-31  Marek Habersack  <[email protected]>
 
 	* AspComponentFoundry.cs: do not overwrite previously registered