2 instantiations of TokenInfo
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XslNumber.cs (2)
34
TokenInfo token = new
TokenInfo
(); {
49
TokenInfo token = new
TokenInfo
();
17 references to TokenInfo
System.Data.SqlXml (17)
System\Xml\Xsl\Runtime\XslNumber.cs (17)
32
public static
TokenInfo
CreateSeparator(string formatString, int startIdx, int tokLen) {
34
TokenInfo
token = new TokenInfo(); {
47
public static
TokenInfo
CreateFormat(string formatString, int startIdx, int tokLen) {
49
TokenInfo
token = new TokenInfo();
107
private List<
TokenInfo
> tokens;
110
private static readonly
TokenInfo
DefaultFormat =
TokenInfo
.CreateFormat ("0", 0, 1);
111
private static readonly
TokenInfo
DefaultSeparator =
TokenInfo
.CreateSeparator(".", 0, 1);
127
this.tokens = new List<
TokenInfo
>();
141
tokens.Add(
TokenInfo
.CreateFormat(formatString, idxStart, idx - idxStart));
144
tokens.Add(
TokenInfo
.CreateSeparator(formatString, idxStart, idx - idxStart));
185
TokenInfo
prefix = tokens[0], suffix;
193
TokenInfo
periodicSeparator = 2 < cFormats ? tokens[cFormats - 2] : DefaultSeparator;
194
TokenInfo
periodicFormat = 0 < cFormats ? tokens[cFormats - 1] : DefaultFormat;
207
TokenInfo
thisSeparator = haveFormat ? tokens[formatIndex + 0] : periodicSeparator;
212
TokenInfo
thisFormat = haveFormat ? tokens[formatIndex + 1] : periodicFormat;