@@ -22,22 +22,20 @@ namespace Microsoft.FSharp.Core
2222/// <param name="strings">The sequence of strings to be concatenated.</param>
2323/// <returns>A new string consisting of the concatenated strings separated by
2424/// the separation string.</returns>
25- /// <exception cref="System.ArgumentNullException">Thrown when strings is null.</exception>
25+ /// <exception cref="System.ArgumentNullException">Thrown when<c> strings</c> is null.</exception>
2626[<CompiledName( " Concat" ) >]
2727val concat : sep : string -> strings : seq < string > -> string
2828
2929/// <summary>Applies the function <c>action</c> to each character in the string.</summary>
3030/// <param name="action">The function to be applied to each character of the string.</param>
3131/// <param name="str">The input string.</param>
32- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
3332[<CompiledName( " Iterate" ) >]
3433val iter : action :( char -> unit ) -> str : string -> unit
3534
3635/// <summary>Applies the function <c>action</c> to the index of each character in the string and the
3736/// character itself.</summary>
3837/// <param name="action">The function to apply to each character and index of the string.</param>
3938/// <param name="str">The input string.</param>
40- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
4139[<CompiledName( " IterateIndexed" ) >]
4240val iteri : action :( int -> char -> unit ) -> str : string -> unit
4341
@@ -46,7 +44,6 @@ namespace Microsoft.FSharp.Core
4644/// <param name="mapping">The function to apply to the characters of the string.</param>
4745/// <param name="str">The input string.</param>
4846/// <returns>The resulting string.</returns>
49- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
5047[<CompiledName( " Map" ) >]
5148val map : mapping :( char -> char ) -> str : string -> string
5249
@@ -55,7 +52,6 @@ namespace Microsoft.FSharp.Core
5552/// <param name="mapping">The function to apply to each character and index of the string.</param>
5653/// <param name="str">The input string.</param>
5754/// <returns>The resulting string.</returns>
58- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
5955[<CompiledName( " MapIndexed" ) >]
6056val mapi : mapping :( int -> char -> char ) -> str : string -> string
6157
@@ -65,7 +61,6 @@ namespace Microsoft.FSharp.Core
6561/// <param name="mapping">The function to produce a string from each character of the input string.</param>
6662/// <param name="str">The input string.</param>
6763/// <returns>The concatenated string.</returns>
68- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
6964[<CompiledName( " Collect" ) >]
7065val collect : mapping :( char -> string ) -> str : string -> string
7166
@@ -84,30 +79,27 @@ namespace Microsoft.FSharp.Core
8479/// <param name="predicate">The function to test each character of the string.</param>
8580/// <param name="str">The input string.</param>
8681/// <returns>True if all characters return true for the predicate and false otherwise.</returns>
87- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
8882[<CompiledName( " ForAll" ) >]
8983val forall : predicate :( char -> bool ) -> str : string -> bool
9084
9185/// <summary>Tests if any character of the string satisfies the given predicate.</summary>
9286/// <param name="predicate">The function to test each character of the string.</param>
9387/// <param name="str">The input string.</param>
9488/// <returns>True if any character returns true for the predicate and false otherwise.</returns>
95- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
9689[<CompiledName( " Exists" ) >]
9790val exists : predicate :( char -> bool ) -> str : string -> bool
9891
9992/// <summary>Returns a string by concatenating <c>count</c> instances of <c>str</c>.</summary>
10093/// <param name="count">The number of copies of the input string will be copied.</param>
10194/// <param name="str">The input string.</param>
10295/// <returns>The concatenated string.</returns>
103- /// <exception cref="System.ArgumentNullException ">Thrown whenthe input string isnull .</exception>
96+ /// <exception cref="System.ArgumentException ">Thrown when<c>count</c> isnegative .</exception>
10497[<CompiledName( " Replicate" ) >]
10598val replicate : count : int -> str : string -> string
10699
107100/// <summary>Returns the length of the string.</summary>
108101/// <param name="str">The input string.</param>
109102/// <returns>The number of characters in the string.</returns>
110- /// <exception cref="System.ArgumentNullException">Thrown when the input string is null.</exception>
111103[<CompiledName( " Length" ) >]
112104val length : str : string -> int
113105