Prechádzať zdrojové kódy

oops

svn path=/trunk/mcs/; revision=153211
Marek Habersack 16 rokov pred
rodič
commit
ea68682bed

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

@@ -847,7 +847,7 @@ namespace System.Web.Compilation
 				return;			
 
 			object[] attrs = mi.GetCustomAttributes (typeof (LocalizableAttribute), true);
-			if (attrs == null && attrs.Length == 0 && !((LocalizableAttribute)attrs [0]).IsLocalizable)
+			if (attrs != null && attrs.Length > 0 && !((LocalizableAttribute)attrs [0]).IsLocalizable)
 				return;
 			
 			string memberName = mi.Name;