3 writes to Index
Microsoft.AspNetCore.Rewrite (3)
ParserContext.cs (3)
18Index = -1; 25return --Index >= 0; 30return ++Index < Template.Length;
40 references to Index
Microsoft.AspNetCore.Rewrite (40)
ApacheModRewrite\ConditionPatternParser.cs (15)
38throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 48throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 60throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 67throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 82throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 89throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 104throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 130throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(condition, context.Index)); 145throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index)); 169throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index)); 175throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index)); 184throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index)); 200throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index)); 205throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index)); 209throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(context.Template, context.Index));
ApacheModRewrite\ServerVariables.cs (1)
118throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(serverVariable, context.Index));
ApacheModRewrite\TestStringParser.cs (6)
48throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(testString, context.Index)); 57throw new FormatException(Resources.FormatError_InputParserNoBackreference(context.Index)); 71throw new FormatException(Resources.FormatError_InputParserInvalidInteger(testString, context.Index)); 100throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 107throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 138throw new FormatException(Resources.FormatError_InputParserInvalidInteger(context.Template, context.Index));
IISUrlRewrite\InputParser.cs (10)
67throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 121throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 132throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 143throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 167throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(parameter, context.Index)); 171throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 178throw new FormatException(Resources.FormatError_InputParserNoBackreference(context.Index)); 186throw new FormatException(Resources.FormatError_InputParserMissingCloseBrace(context.Index)); 194throw new FormatException(Resources.FormatError_InputParserInvalidInteger(res, context.Index)); 199throw new FormatException(Resources.FormatError_InputParserIndexOutOfRange(res, context.Index));
IISUrlRewrite\ServerVariables.cs (1)
94throw new FormatException(Resources.FormatError_InputParserUnrecognizedParameter(serverVariable, context.Index));
ParserContext.cs (7)
21public char Current => (Index < Template.Length && Index >= 0) ? Template[Index] : (char)0; 35return (Index + 1) < Template.Length; 40_mark = Index; 45return Index; 53var value = Template.Substring(_mark.Value, Index - _mark.Value);