Beispiel #1
0
 internal bool FullCTMatch(NumberSpanFormat.FormatLiterals pattern)
 {
     return (_sepCount == 3 && _numCount == 2 && pattern.Start == _literals[0] && string.Equals(pattern.OfSep, _literals[1], StringComparison.OrdinalIgnoreCase) && pattern.End == _literals[2]);
 }
Beispiel #2
0
 internal bool FullCMatch(NumberSpanFormat.FormatLiterals pattern)
 {
     return (_sepCount == 2 && _numCount == 1 && pattern.Start == _literals[0] && pattern.End == _literals[1]);
 }