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