diff --git a/xml/System.Linq/Enumerable.xml b/xml/System.Linq/Enumerable.xml index 196fd843e0b..1d6acf7b417 100644 --- a/xml/System.Linq/Enumerable.xml +++ b/xml/System.Linq/Enumerable.xml @@ -8257,18 +8257,13 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl A function to extract the key for each element. Returns the maximum value in a generic sequence according to a specified key selector function. The value with the maximum key in the sequence. - - - + If the source sequence is empty and is a nullable type, this method returns . If the source sequence is empty and is a non-nullable struct, such as a primitive type, an is thrown. + If the source sequence contains only values that are . is . No key extracted from implements the or interface. + + is a primitive type and the source sequence is empty. @@ -8338,18 +8333,13 @@ If `TKey` is a reference type and the source sequence is empty or contains only The to compare keys. Returns the maximum value in a generic sequence according to a specified key selector function and key comparer. The value with the maximum key in the sequence. - - - + If the source sequence is empty and is a nullable type, this method returns . If the source sequence is empty and is a non-nullable struct, such as a primitive type, an is thrown. + If the source sequence contains only values that are . is . No key extracted from implements the or interface. + + is a primitive type and the source sequence is empty. @@ -10061,18 +10051,13 @@ In Visual Basic query expression syntax, an `Aggregate Into Min()` clause transl A function to extract the key for each element. Returns the minimum value in a generic sequence according to a specified key selector function. The value with the minimum key in the sequence. - - - + If the source sequence is empty and is a nullable type, this method returns . If the source sequence is empty and is a non-nullable struct, such as a primitive type, an is thrown. + If the source sequence contains only values that are . is . No key extracted from implements the or interface. + + is a primitive type and the source sequence is empty. @@ -10142,18 +10127,13 @@ If `TKey` is a reference type and the source sequence is empty or contains only The to compare keys. Returns the minimum value in a generic sequence according to a specified key selector function and key comparer. The value with the minimum key in the sequence. - - - + If the source sequence is empty and is a nullable type, this method returns . If the source sequence is empty and is a non-nullable struct, such as a primitive type, an is thrown. + If the source sequence contains only values that are . is . No key extracted from implements the or interface. + + is a primitive type and the source sequence is empty.