2010-06-11 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / System / System.Security.Cryptography.X509Certificates / X509Certificate2Collection.cs
index d99bf108632d17552f1e451e22be880dd0025486..9f52e366bc0c6a9f0d9b770a6c3ce90184eece3f 100644 (file)
@@ -220,8 +220,10 @@ namespace System.Security.Cryptography.X509Certificates {
                                }
                                break;
                        default:
-                               string msg = Locale.GetText ("Invalid find type '{0}'.", findType);
-                               throw new CryptographicException (msg);
+                               {
+                                       string msg = Locale.GetText ("Invalid find type '{0}'.", findType);
+                                       throw new CryptographicException (msg);
+                               }
                        }
 
                        CultureInfo cinv = CultureInfo.InvariantCulture;