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