File tree Expand file tree Collapse file tree 5 files changed +11
-10
lines changed
5.1/Microsoft.PowerShell.Core/About
7.2/Microsoft.PowerShell.Core/About
7.3/Microsoft.PowerShell.Core/About
7.4/Microsoft.PowerShell.Core/About
7.5/Microsoft.PowerShell.Core/About Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -523,8 +523,9 @@ You can also create ranges in reverse order.
523523The start and end values of the range can be any pair of expressions that
524524evaluate to an integer or a character. The endpoints of the range must be
525525convertible to signed 32-bit integers (` [int32] ` ). Larger values cause an
526- error. Also, if the range is captured in an array, the count of resulting is
527- limited to maximum size of an array in .NET, which is ` [int]::MaxValue - 56 ` .
526+ error. Also, if the range is captured in an array, the size of resulting array
527+ is limited to ` 268435448 ` (or ` 256mb - 8 ` ). This is maximum size of an array in
528+ .NET Framework.
528529
529530For example, you could use the members of an enumeration for your start and end
530531values.
Original file line number Diff line number Diff line change @@ -593,8 +593,8 @@ You can also create ranges in reverse order.
593593The start and end values of the range can be any pair of expressions that
594594evaluate to an integer or a character. The endpoints of the range must be
595595convertible to signed 32-bit integers (` [int32] ` ). Larger values cause an
596- error. Also, if the range is captured in an array, the count of resulting is
597- limited to maximum size of an array in .NET, which is ` [int]::MaxValue - 56 ` .
596+ error. Also, if the range is captured in an array, the size of resulting array
597+ is limited to ` [int]::MaxValue - 56 ` . This is maximum size of an array in .NET.
598598
599599For example, you could use the members of an enumeration for your start and end
600600values.
Original file line number Diff line number Diff line change @@ -593,8 +593,8 @@ You can also create ranges in reverse order.
593593The start and end values of the range can be any pair of expressions that
594594evaluate to an integer or a character. The endpoints of the range must be
595595convertible to signed 32-bit integers (` [int32] ` ). Larger values cause an
596- error. Also, if the range is captured in an array, the count of resulting is
597- limited to maximum size of an array in .NET, which is ` [int]::MaxValue - 56 ` .
596+ error. Also, if the range is captured in an array, the size of resulting array
597+ is limited to ` [int]::MaxValue - 56 ` . This is maximum size of an array in .NET.
598598
599599For example, you could use the members of an enumeration for your start and end
600600values.
Original file line number Diff line number Diff line change @@ -593,8 +593,8 @@ You can also create ranges in reverse order.
593593The start and end values of the range can be any pair of expressions that
594594evaluate to an integer or a character. The endpoints of the range must be
595595convertible to signed 32-bit integers (` [int32] ` ). Larger values cause an
596- error. Also, if the range is captured in an array, the count of resulting is
597- limited to maximum size of an array in .NET, which is ` [int]::MaxValue - 56 ` .
596+ error. Also, if the range is captured in an array, the size of resulting array
597+ is limited to ` [int]::MaxValue - 56 ` . This is maximum size of an array in .NET.
598598
599599For example, you could use the members of an enumeration for your start and end
600600values.
Original file line number Diff line number Diff line change @@ -593,8 +593,8 @@ You can also create ranges in reverse order.
593593The start and end values of the range can be any pair of expressions that
594594evaluate to an integer or a character. The endpoints of the range must be
595595convertible to signed 32-bit integers (` [int32] ` ). Larger values cause an
596- error. Also, if the range is captured in an array, the count of resulting is
597- limited to maximum size of an array in .NET, which is ` [int]::MaxValue - 56 ` .
596+ error. Also, if the range is captured in an array, the size of resulting array
597+ is limited to ` [int]::MaxValue - 56 ` . This is maximum size of an array in .NET.
598598
599599For example, you could use the members of an enumeration for your start and end
600600values.
You can’t perform that action at this time.
0 commit comments