CClash.Compiler.FixEnvironmentDictionary C# (CSharp) Method

FixEnvironmentDictionary() public static method

public static FixEnvironmentDictionary ( string>.Dictionary envs ) : string>.Dictionary
envs string>.Dictionary
return string>.Dictionary
        public static Dictionary<string, string> FixEnvironmentDictionary(Dictionary<string, string> envs)
        {
            if (envs == null) throw new ArgumentNullException("envs");
            var rv = new Dictionary<string,string>();
            foreach (var row in envs)
            {
                rv[row.Key.ToUpper()] = row.Value;
            }

            return rv;
        }