public static string TransformUnmarshallLocationName(bool isEC2Protocol, string locationName) { if (string.IsNullOrEmpty(locationName) || !isEC2Protocol) return locationName; return string.Concat(locationName.Substring(0, 1).ToLower(), locationName.Substring(1)); }