83 references to Index
System (23)
net\System\Net\WebPermission.cs (4)
1002&& (M.Index == 0) // ... which starts at the begining 1015&& (M.Index == 0) // ... which starts at the begining 1137&& (M.Index == 0) // ... which starts at the begining 1148&& (M.Index == 0) // ... which starts at the begining
regex\system\text\regularexpressions\RegexReplacement.cs (19)
208if (match.Index != prevat) 209sb.Append(input, prevat, match.Index - prevat); 211prevat = match.Index + match.Length; 227if (match.Index + match.Length != prevat) 228al.Add(input.Substring(match.Index + match.Length, prevat - match.Index - match.Length)); 230prevat = match.Index; 288if (match.Index != prevat) 289sb.Append(input, prevat, match.Index - prevat); 291prevat = match.Index + match.Length; 309if (match.Index + match.Length != prevat) 310al.Add(input.Substring(match.Index + match.Length, prevat - match.Index - match.Length)); 312prevat = match.Index; 372al.Add(input.Substring(prevat, match.Index - prevat)); 374prevat = match.Index + match.Length; 397al.Add(input.Substring(match.Index + match.Length, prevat - match.Index - match.Length)); 399prevat = match.Index;
System.ComponentModel.DataAnnotations (1)
DataAnnotations\RegularExpressionAttribute.cs (1)
74return (m.Success && m.Index == 0 && m.Length == stringValue.Length);
System.ServiceModel.Activation (4)
System\ServiceModel\Activation\ServiceParser.cs (4)
407lineNumber += ServiceParserUtilities.LineCount(this.serviceText, textPos, match.Index); 408textPos = match.Index; 418lineNumber += ServiceParserUtilities.LineCount(this.serviceText, textPos, match.Index + match.Length); 419textPos = match.Index + match.Length;
System.Web (38)
Configuration\CapabilitiesPattern.cs (2)
62textpos = match.Index + match.Length; 91textpos = match.Index + match.Length;
Configuration\HttpCapabilitiesSectionHandler.cs (4)
406lineNumber += System.Web.UI.Util.LineCount(text, textpos, match.Index + match.Length); 407textpos = match.Index + match.Length; 417lineNumber += System.Web.UI.Util.LineCount(text, textpos, match.Index + match.Length); 418textpos = match.Index + match.Length;
Configuration\RegexWorker.cs (2)
51int length = match.Index - startIndex; 53startIndex = match.Index + match.Length;
Handlers\AssemblyResourceLoader.cs (2)
665newContent.Append(content.Substring(startIndex, match.Index - startIndex)); 679startIndex = match.Index + match.Length;
UI\BatchParser.cs (4)
135textPos = match.Index + match.Length; 151textPos = match.Index + match.Length; 156textPos = match.Index + match.Length; 161textPos = match.Index + match.Length;
UI\ControlBuilder.cs (1)
2669column += codeGroup.Index;
UI\SimpleWebHandlerParser.cs (4)
228_lineNumber += Util.LineCount(text, textPos, match.Index); 229textPos = match.Index; 237_lineNumber += Util.LineCount(text, textPos, match.Index + match.Length); 238textPos = match.Index + match.Length;
UI\TemplateParser.cs (18)
969match.Index + match.Length); 970textPos = match.Index + match.Length; 1138match.Index + match.Length); 1139textPos = match.Index + match.Length; 1173precompTargetWriter.Write(text.Substring(0, match.Index)); 1204precompTargetWriter.Write(text.Substring(match.Index+match.Length)); 1601inputText, match.Index + match.Length)); 1670int startOfCode = match.Index + match.Length; 2278string tag = text.Substring(textPos, match.Index-textPos+2); 2291if (matchLessThan.Success && matchLessThan.Index < match.Index) 2560int newlineIndex = text.LastIndexOfAny(s_newlineChars, codeGroup.Index-1); 2564column = codeGroup.Index-newlineIndex; 2757int lineNumber = _lineNumber + Util.LineCount(text, match.Index, attrValue.Index); 2758int column = attrValue.Index - text.LastIndexOfAny(s_newlineChars, attrValue.Index - 1); 2809match.Index - stackEntry._textPos));
UI\WebControls\RegularExpressionValidator.cs (1)
95return(m.Success && m.Index == 0 && m.Length == controlValue.Length);
System.Web.Extensions (5)
UI\ScriptRegistrationManager.cs (3)
657CheckScriptTagTweenSpace(activeRegistration, scriptContent, lastIndex, match.Index - lastIndex); 665lastIndex = match.Index + match.Length; 671int indexOfEndOfScriptBeginTag = match.Index + match.Length;
UI\ScriptResourceAttribute.cs (2)
111output.Append(content.Substring(startIndex, match.Index - startIndex)); 133startIndex = match.Index + match.Length;
System.Web.Mobile (3)
UI\MobileControls\Design\Util\SimpleParser.cs (2)
122textPos = match.Index + match.Length; 231textPos = match.Index + match.Length;
UI\MobileControls\PhoneCall.cs (1)
68if (!match.Success || match.Index != 0 ||
System.Web.Services (4)
System\Web\Services\Protocols\PatternMatcher.cs (4)
90matches.Add(text.Substring(c.Index, c.Length)); 106return text.Substring(c.Index, c.Length); 124matches.Add(matchType.Match(text.Substring(c.Index, c.Length))); 140return matchType.Match(text.Substring(c.Index, c.Length));
System.Xml (5)
System\Xml\XmlConvert.cs (5)
109matchPos = m.Index; 117matchPos = m.Index; 203matchPos = m.Index - 1; 233matchPos = m.Index - 1; 250matchPos = m.Index - 1;