@@ -803,6 +803,7 @@ namespace Microsoft.FSharp.Collections
803803 open System.Collections .Generic
804804 open Microsoft.FSharp .Core
805805 open Microsoft.FSharp .Core .LanguagePrimitives .IntrinsicOperators
806+ open Microsoft.FSharp .Core .LanguagePrimitives .ErrorStrings
806807 open Microsoft.FSharp .Core .Operators
807808 open Microsoft.FSharp .Core .CompilerServices
808809 open Microsoft.FSharp .Control
@@ -1046,7 +1047,7 @@ namespace Microsoft.FSharp.Collections
10461047 let reduce f ( source : seq < 'T >) =
10471048 checkNonNull " source" source
10481049 use e = source.GetEnumerator()
1049- if not ( e.MoveNext()) then invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString;
1050+ if not ( e.MoveNext()) then invalidArg " source" InputSequenceEmptyString;
10501051 let f = OptimizedClosures.FSharpFunc<_,_,_>. Adapt( f)
10511052 let mutable state = e.Current
10521053 while e.MoveNext() do
@@ -1374,7 +1375,7 @@ namespace Microsoft.FSharp.Collections
13741375 acc <- Checked.(+) acc e.Current
13751376 count <- count + 1
13761377 if count = 0 then
1377- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString
1378+ invalidArg " source" InputSequenceEmptyString
13781379 LanguagePrimitives.DivideByInt< ( ^a ) > acc count
13791380
13801381 [<CompiledName( " AverageBy" ) >]
@@ -1387,15 +1388,15 @@ namespace Microsoft.FSharp.Collections
13871388 acc <- Checked.(+) acc ( f e.Current)
13881389 count <- count + 1
13891390 if count = 0 then
1390- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString;
1391+ invalidArg " source" InputSequenceEmptyString;
13911392 LanguagePrimitives.DivideByInt< ( ^U ) > acc count
13921393
13931394 [<CompiledName( " Min" ) >]
13941395 let inline min ( source : seq < _ >) =
13951396 checkNonNull " source" source
13961397 use e = source.GetEnumerator()
13971398 if not ( e.MoveNext()) then
1398- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString;
1399+ invalidArg " source" InputSequenceEmptyString;
13991400 let mutable acc = e.Current
14001401 while e.MoveNext() do
14011402 let curr = e.Current
@@ -1408,7 +1409,7 @@ namespace Microsoft.FSharp.Collections
14081409 checkNonNull " source" source
14091410 use e = source.GetEnumerator()
14101411 if not ( e.MoveNext()) then
1411- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString;
1412+ invalidArg " source" InputSequenceEmptyString;
14121413 let first = e.Current
14131414 let mutable acc = f first
14141415 let mutable accv = first
@@ -1442,7 +1443,7 @@ namespace Microsoft.FSharp.Collections
14421443 checkNonNull " source" source
14431444 use e = source.GetEnumerator()
14441445 if not ( e.MoveNext()) then
1445- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString;
1446+ invalidArg " source" InputSequenceEmptyString;
14461447 let mutable acc = e.Current
14471448 while e.MoveNext() do
14481449 let curr = e.Current
@@ -1455,7 +1456,7 @@ namespace Microsoft.FSharp.Collections
14551456 checkNonNull " source" source
14561457 use e = source.GetEnumerator()
14571458 if not ( e.MoveNext()) then
1458- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString;
1459+ invalidArg " source" InputSequenceEmptyString;
14591460 let first = e.Current
14601461 let mutable acc = f first
14611462 let mutable accv = first
@@ -1545,7 +1546,7 @@ namespace Microsoft.FSharp.Collections
15451546 checkNonNull " source" source
15461547 use e = source.GetEnumerator()
15471548 if ( e.MoveNext()) then e.Current
1548- else invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString
1549+ else invalidArg " source" InputSequenceEmptyString
15491550
15501551 [<CompiledName( " Last" ) >]
15511552 let last ( source : seq < _ >) =
@@ -1556,7 +1557,7 @@ namespace Microsoft.FSharp.Collections
15561557 while ( e.MoveNext()) do res <- e.Current
15571558 res
15581559 else
1559- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString
1560+ invalidArg " source" InputSequenceEmptyString
15601561
15611562
15621563 [<CompiledName( " ExactlyOne" ) >]
@@ -1570,4 +1571,4 @@ namespace Microsoft.FSharp.Collections
15701571 else
15711572 v
15721573 else
1573- invalidArg " source" LanguagePrimitives.ErrorStrings. InputSequenceEmptyString
1574+ invalidArg " source" InputSequenceEmptyString
0 commit comments