File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,9 @@ namespace Microsoft.FSharp.Collections.SeqComposition
479
479
count <- count + 1
480
480
count
481
481
482
+ interface IEnumerable< 'T> with
483
+ member __.GetEnumerator () = enumerable.GetEnumerator ()
484
+
482
485
type DelayedEnumerable < 'T >( delayed : unit -> ISeq < 'T >, pipeIdx : PipeIdx ) =
483
486
inherit EnumerableBase< 'T>()
484
487
@@ -590,6 +593,9 @@ namespace Microsoft.FSharp.Collections.SeqComposition
590
593
override __.Length () = array.Length
591
594
override __.GetRaw () = upcast array
592
595
596
+ interface IEnumerable< 'T> with
597
+ member __.GetEnumerator () = ( array:> IEnumerable< 'T>) .GetEnumerator ()
598
+
593
599
type SingletonEnumerable < 'T >( item : 'T ) =
594
600
inherit EnumerableBase< 'T>()
595
601
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ namespace Microsoft.FSharp.Collections.SeqComposition
118
118
type internal ThinArrayEnumerable < 'T > =
119
119
inherit ArrayEnumerable< 'T, 'T>
120
120
new : array< 'T> -> ThinArrayEnumerable< 'T>
121
+ interface IEnumerable< 'T>
121
122
122
123
type internal VanillaEnumerable < 'T , 'U > =
123
124
inherit SeqFactoryBase< 'T, 'U>
@@ -127,6 +128,7 @@ namespace Microsoft.FSharp.Collections.SeqComposition
127
128
type internal ThinEnumerable < 'T > =
128
129
inherit VanillaEnumerable< 'T, 'T>
129
130
new : IEnumerable< 'T> -> ThinEnumerable< 'T>
131
+ interface IEnumerable< 'T>
130
132
131
133
type internal UnfoldEnumerable < 'T , 'U , 'GeneratorState > =
132
134
inherit SeqFactoryBase< 'T, 'U>
You can’t perform that action at this time.
0 commit comments