18 references to
Microsoft.AspNetCore.App.Analyzers (18)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxToken.cs (1)
69
var end = VirtualChars.Length == 0 ? int.MinValue : VirtualChars
[
VirtualChars.Length - 1].Span.End;
Infrastructure\RoutePattern\RoutePatternLexer.cs (12)
26
public VirtualChar CurrentChar => Position < Text.Length ? Text
[
Position] : default;
68
=> TextSpan.FromBounds(Text
[
startInclusive].Span.Start, Text
[
endExclusive - 1].Span.End);
78
Text
[
position + i].Value != val[i])
261
var ch = Text
[
Position];
303
if (Text
[
position].Value != c)
308
if (position + 1 >= Text.Length || Text
[
position + 1].Value != c)
320
while (currentPosition < Text.Length && Text
[
currentPosition].Value == c)
353
var ch = Text
[
Position];
402
var ch = Text
[
Position];
444
var ch = Text
[
Position];
480
var ch = Text
[
current];
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (2)
94
var nextVC = result
[
i];
103
var nextVC = result
[
i];
Infrastructure\VirtualChars\VirtualCharSequence.cs (2)
97
public VirtualChar Last() => this
[
Length - 1];
142
var ch = this
[
i];
Infrastructure\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
24
public VirtualChar Current => _virtualCharSequence
[
_position];