You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
726 B
29 lines
726 B
5 years ago
|
// Needed for NET35 (BigInteger)
|
||
|
#if !NET_4_6
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace LinqInternal.Collections.Specialized
|
||
|
{
|
||
|
[System.Diagnostics.DebuggerNonUserCode]
|
||
|
internal sealed class ExtendedEnumerable<T> : ExtendedEnumerableBase<T>, IEnumerable<T>
|
||
|
{
|
||
|
public ExtendedEnumerable(IEnumerable<T> target, IEnumerable<T> append)
|
||
|
: base(target, append)
|
||
|
{
|
||
|
//Empty
|
||
|
}
|
||
|
|
||
|
public override IEnumerator<T> GetEnumerator()
|
||
|
{
|
||
|
foreach (var item in Target)
|
||
|
{
|
||
|
yield return item;
|
||
|
}
|
||
|
foreach (var item in Append)
|
||
|
{
|
||
|
yield return item;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|