@@ -25,19 +25,23 @@ private MarketPlace(string id, Region region, Country country, BaseCurrencyCode
2525
2626 [ JsonConstructorAttribute ]
2727 public MarketPlace ( ) { }
28-
29- private static readonly List < MarketPlace > _allMarketplaces = new List < MarketPlace > ( )
28+ static MarketPlace ( )
3029 {
31- // NorthAmerica
32- US , Canada , Mexico , Brazil ,
33- // Europe
34- Spain , UnitedKingdom , France , Belgium ,
35- Netherlands , Germany , Italy , Sweden ,
36- Egypt , Poland , Turkey , UnitedArabEmirates ,
37- India , SaudiArabia , SouthAfrica , Ireland ,
38- // FarEast
39- Singapore , Australia , Japan
40- } ;
30+ _allMarketplaces = new List < MarketPlace >
31+ {
32+ // NorthAmerica
33+ US , Canada , Mexico , Brazil ,
34+ // Europe
35+ Spain , UnitedKingdom , France , Belgium ,
36+ Netherlands , Germany , Italy , Sweden ,
37+ Egypt , Poland , Turkey , UnitedArabEmirates ,
38+ India , SaudiArabia , SouthAfrica , Ireland ,
39+ // FarEast
40+ Singapore , Australia , Japan
41+ } ;
42+ }
43+
44+ private static readonly List < MarketPlace > _allMarketplaces ;
4145
4246 public static MarketPlace GetMarketPlaceByID ( string id )
4347 {
0 commit comments