@@ -477,7 +477,7 @@ module NonEmptySeq =
477477 /// <returns >The result sequence.</returns >
478478 let initInfinite initializer =
479479 Seq.initInfinite initializer |> unsafeOfSeq
480-
480+ #if ! NET45
481481 /// <summary >Inserts an element at the specified index.</summary >
482482 /// <param name =" index " >The index at which to insert the element.</param >
483483 /// <param name =" value " >The value to insert.</param >
@@ -493,7 +493,7 @@ module NonEmptySeq =
493493 /// <returns >The result sequence.</returns >
494494 let insertManyAt ( index : int ) ( values : seq < 'T >) ( source : NonEmptySeq < 'T >) : NonEmptySeq < 'T > =
495495 Seq.insertManyAt index values source |> unsafeOfSeq
496-
496+ #endif
497497 /// <summary >Returns the element at the specified index.</summary >
498498 /// <param name =" index " >The index of the element to retrieve.</param >
499499 /// <param name =" source " >The input sequence.</param >
@@ -696,6 +696,7 @@ module NonEmptySeq =
696696 let reduceBack ( reduction : 'T -> 'T -> 'T ) ( source : NonEmptySeq < 'T >) =
697697 Seq.reduceBack reduction source
698698
699+ #if ! NET45
699700 /// <summary >Removes the element at the specified index.</summary >
700701 /// <param name =" index " >The index of the element to remove.</param >
701702 /// <param name =" source " >The input sequence.</param >
@@ -727,7 +728,8 @@ module NonEmptySeq =
727728 /// <exception cref =" System.ArgumentException " >Thrown when removing the items results in an empty sequence.</exception >
728729 let removeManyAt ( index : int ) ( count : int ) ( source : NonEmptySeq < 'T >) : NonEmptySeq < 'T > =
729730 Seq.removeManyAt index count source |> ofSeq
730-
731+ #endif
732+
731733 /// <summary >Creates a sequence that contains one repeated value.</summary >
732734 /// <param name =" count " >The number of elements.</param >
733735 /// <param name =" value " >The value to replicate.</param >
@@ -1040,15 +1042,17 @@ module NonEmptySeq =
10401042 /// <returns >A tuple containing the three sequences.</returns >
10411043 let unzip3 ( source : NonEmptySeq < 'T1 * 'T2 * 'T3 >) : NonEmptySeq < 'T1 > * NonEmptySeq < 'T2 > * NonEmptySeq < 'T3 > =
10421044 source |> Seq.toList |> List.unzip3 |> fun ( a , b , c ) -> ( unsafeOfSeq a, unsafeOfSeq b, unsafeOfSeq c)
1043-
1045+
1046+ #if ! NET45
10441047 /// <summary >Updates the element at the specified index.</summary >
10451048 /// <param name =" index " >The index of the element to update.</param >
10461049 /// <param name =" value " >The new value.</param >
10471050 /// <param name =" source " >The input sequence.</param >
10481051 /// <returns >The result sequence.</returns >
10491052 let updateAt ( index : int ) ( value : 'T ) ( source : NonEmptySeq < 'T >) : NonEmptySeq < 'T > =
10501053 Seq.updateAt index value source |> unsafeOfSeq
1051-
1054+ #endif
1055+
10521056 /// <summary >Returns a sequence that contains the elements of the sequence for which the given function returns <c >true</c >.</summary >
10531057 /// <param name =" predicate " >A function to test each element of the sequence.</param >
10541058 /// <param name =" source " >The input sequence.</param >
0 commit comments