1 write to OriginalString
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (1)
83
this.
OriginalString
= originalString;
9 references to OriginalString
Microsoft.CodeAnalysis.Workspaces (9)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (9)
504
if (!char.IsWhiteSpace(this.
OriginalString
[i]))
526
var index = this.
OriginalString
.IndexOf(this.IsNewLine);
529
return IsNullOrWhitespace(this.
OriginalString
);
534
if (!IsWhitespace(this.
OriginalString
[i]))
602
var lastText = this.
OriginalString
.GetLastLineText();
603
var initialColumn = (lastText == this.
OriginalString
) ? this.InitialLineColumn.Column : 0;
742
for (var i = this.
OriginalString
.Length - 1; i >= 0; i--)
744
if (this.
OriginalString
[i] == '\n')
939
var originalText = this.
OriginalString
[..offset];