소스 검색

oops

svn path=/trunk/mcs/; revision=153211
Marek Habersack 16 년 전
부모
커밋
ea68682bed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs

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

@@ -847,7 +847,7 @@ namespace System.Web.Compilation
 				return;			
 				return;			
 
 
 			object[] attrs = mi.GetCustomAttributes (typeof (LocalizableAttribute), true);
 			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;
 				return;
 			
 			
 			string memberName = mi.Name;
 			string memberName = mi.Name;