1 write to EndCharacterIndex
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\SourceSpan.cs (1)
39
EndCharacterIndex
= endCharacterIndex;
20 references to EndCharacterIndex
Microsoft.CodeAnalysis.Razor.Compiler (20)
Language\CodeGeneration\CodeRenderingContext.cs (1)
139
var endCharacterIndex = (source.LineCount == 0) ? currentLocation.CharacterIndex + source.Length : source.
EndCharacterIndex
;
Language\CodeGeneration\CodeWriterExtensions.cs (1)
313
.WriteIntegerLiteral(span.
EndCharacterIndex
+ 1)
Language\Components\ComponentBindLoweringPass.cs (1)
1105
span.
EndCharacterIndex
);
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (2)
907
source.
EndCharacterIndex
);
1027
sourceRangeStart.Value.
EndCharacterIndex
);
Language\DefaultTagHelperResolutionPhase.cs (2)
810
.WithEndCharacterIndex(last.
EndCharacterIndex
);
828
last.
EndCharacterIndex
);
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (3)
597
var valueEndCharIndex = attrSource.
EndCharacterIndex
- suffix.Length;
703
var closeCharIndex = lastSource.
EndCharacterIndex
;
1640
diagSource.
EndCharacterIndex
);
Language\RazorDiagnostic.cs (1)
64
builder.Append(span.
EndCharacterIndex
);
Language\SourceSpan.cs (8)
101
return new SourceSpan(FilePath, AbsoluteIndex + Length, LineIndex, characterIndex:
EndCharacterIndex
, length: 0, lineCount: 0,
EndCharacterIndex
);
130
public readonly SourceSpan WithFilePath(string filePath) => new(filePath, AbsoluteIndex, LineIndex, CharacterIndex, Length, LineCount,
EndCharacterIndex
);
131
public readonly SourceSpan WithAbsoluteIndex(int absoluteIndex) => new(FilePath, absoluteIndex, LineIndex, CharacterIndex, Length, LineCount,
EndCharacterIndex
);
132
public readonly SourceSpan WithLineIndex(int lineIndex) => new(FilePath, AbsoluteIndex, lineIndex, CharacterIndex, Length, LineCount,
EndCharacterIndex
);
133
public readonly SourceSpan WithCharacterIndex(int characterIndex) => new(FilePath, AbsoluteIndex, LineIndex, characterIndex, Length, LineCount,
EndCharacterIndex
);
134
public readonly SourceSpan WithLength(int length) => new(FilePath, AbsoluteIndex, LineIndex, CharacterIndex, length, LineCount,
EndCharacterIndex
);
135
public readonly SourceSpan WithLineCount(int lineCount) => new(FilePath, AbsoluteIndex, LineIndex, CharacterIndex, Length, lineCount,
EndCharacterIndex
);
Mvc\InjectDirective.cs (1)
92
typeSpan = new SourceSpan(typeSpan.Value.FilePath, typeSpan.Value.AbsoluteIndex, typeSpan.Value.LineIndex, typeSpan.Value.CharacterIndex, typeSpan.Value.Length - tModel.Length, typeSpan.Value.LineCount, typeSpan.Value.
EndCharacterIndex
- tModel.Length);