using System.Collections.Generic; namespace XSharp.Compiler { public static class Extensions { public static void AddRange(this IDictionary aThis, IDictionary source) { foreach (var xItem in source) { aThis.Add(xItem.Key, xItem.Value); } } } }