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