Cosmos/source/XSharp.Common/Extensions.cs
José Pedro fc9a412652 Compiler fixes.
Moved XSharp implementation to XSharp.Common.
2017-01-08 20:55:52 +00:00

15 lines
310 B
C#

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