3 references to FindSection
System.Runtime.Numerics (3)
src\runtime\src\libraries\Common\src\System\Number.Formatting.Common.cs (3)
495section = FindSection(format, number.Digits[0] == 0 ? 2 : number.IsNegative ? 1 : 0); 606src = FindSection(format, 2); 1457private static bool HasNegativeSection(ReadOnlySpan<char> format) => FindSection(format, 1) != 0;