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