Amazon.Util.Extensions.ToUpper C# (CSharp) Method

ToUpper() static private method

static private ToUpper ( this str, CultureInfo culture ) : string
str this
culture System.Globalization.CultureInfo
return string
        internal static string ToUpper(this String str, CultureInfo culture)
        {
            if (culture != CultureInfo.InvariantCulture)
                throw new ArgumentException("The extension method ToUpper only works for invariant culture");
            return str.ToUpperInvariant();
        }
    }
Extensions