Definition at line 2608 of file String.cs.
 2609    {
 2611        {
 2612            throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_NegativeCount);
 2613        }
 2617        while (true)
 2618        {
 2620            {
 2623                {
 2625                }
 2627                {
 2629                }
 2631                {
 2632                    return new string[1] { 
text };
 
 2633                }
 2634                return Array.Empty<
string>();
 
 2635            }
 2637            {
 2638                options &= ~StringSplitOptions.TrimEntries;
 
 2639            }
 2645            {
 2646                break;
 2647            }
 2649        }
 2652        return result;
 2653    }
string[] SplitWithPostProcessing(ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count, StringSplitOptions options)
 
string[] SplitWithoutPostProcessing(ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
 
static void CheckStringSplitOptions(StringSplitOptions options)
 
unsafe void MakeSeparatorList(ReadOnlySpan< char > separators, ref ValueListBuilder< int > sepListBuilder)
 
 
References System.SR.ArgumentOutOfRange_NegativeCount, System.String.CheckStringSplitOptions(), System.count, System.String.Length, System.String.MakeSeparatorList(), System.options, System.String.SplitWithoutPostProcessing(), System.String.SplitWithPostProcessing(), and System.text.
Referenced by System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), System.String.Split(), and System.String.SplitInternal().