1 write to StringExpressionBeforePasteInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\AbstractPasteProcessor.cs (1)
120
StringExpressionBeforePasteInfo
= StringInfo.GetStringInfo(TextBeforePaste, stringExpressionBeforePaste);
16 references to StringExpressionBeforePasteInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (16)
StringCopyPaste\AbstractPasteProcessor.cs (5)
73
/// All the spans of <see cref="
StringExpressionBeforePasteInfo
"/>'s <see cref="StringInfo.ContentSpans"/>
121
TextContentsSpansAfterPaste =
StringExpressionBeforePasteInfo
.ContentSpans.SelectAsArray(MapSpanForward);
123
Contract.ThrowIfTrue(
StringExpressionBeforePasteInfo
.ContentSpans.IsEmpty);
149
var quotesToAddCount = (longestQuoteSequence -
StringExpressionBeforePasteInfo
.DelimiterQuoteCount) + 1;
171
var dollarsToAddCount = (longestBraceSequence -
StringExpressionBeforePasteInfo
.DelimiterDollarCount) + 1;
StringCopyPaste\KnownSourcePasteProcessor.cs (6)
187
contentSpansAfterBasicPaste =
StringExpressionBeforePasteInfo
.ContentSpans.SelectAsArray(
194
var finalDollarSignCount =
StringExpressionBeforePasteInfo
.DelimiterDollarCount +
205
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.ContentSpans.First().Start, 0), quotesToAdd));
210
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace));
226
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace));
230
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
StringCopyPaste\UnknownSourcePasteProcessor.cs (5)
137
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.ContentSpans.First().Start, 0), quotesToAdd));
148
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
177
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace));
221
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace));
228
Changes.Last().OldEnd ==
StringExpressionBeforePasteInfo
.ContentSpans.Last().End &&