2 instantiations of TokenInfo
System.Private.Xml (2)
System\Xml\Xsl\Runtime\XslNumber.cs (2)
34
TokenInfo token = new
TokenInfo
();
51
TokenInfo token = new
TokenInfo
();
17 references to TokenInfo
System.Private.Xml (17)
System\Xml\Xsl\Runtime\XslNumber.cs (17)
31
public static
TokenInfo
CreateSeparator(string formatString, int startIdx, int tokLen)
34
TokenInfo
token = new TokenInfo();
48
public static
TokenInfo
CreateFormat(string formatString, int startIdx, int tokLen)
51
TokenInfo
token = new TokenInfo();
119
private readonly List<
TokenInfo
?>? _tokens;
122
private static readonly
TokenInfo
s_defaultFormat =
TokenInfo
.CreateFormat("0", 0, 1);
123
private static readonly
TokenInfo
s_defaultSeparator =
TokenInfo
.CreateSeparator(".", 0, 1);
141
_tokens = new List<
TokenInfo
?>();
159
_tokens.Add(
TokenInfo
.CreateFormat(formatString, idxStart, idx - idxStart));
164
_tokens.Add(
TokenInfo
.CreateSeparator(formatString, idxStart, idx - idxStart));
213
TokenInfo
? prefix = _tokens[0], suffix;
224
TokenInfo
? periodicSeparator = 2 < cFormats ? _tokens[cFormats - 2] : s_defaultSeparator;
225
TokenInfo
? periodicFormat = 0 < cFormats ? _tokens[cFormats - 1] : s_defaultFormat;
241
TokenInfo
? thisSeparator = haveFormat ? _tokens[formatIndex + 0] : periodicSeparator;
246
TokenInfo
? thisFormat = haveFormat ? _tokens[formatIndex + 1] : periodicFormat;