1 write to StringExpressionBeforePasteInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\AbstractPasteProcessor.cs (1)
114
StringExpressionBeforePasteInfo
= StringInfo.GetStringInfo(TextBeforePaste, stringExpressionBeforePaste);
16 references to StringExpressionBeforePasteInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (16)
StringCopyPaste\AbstractPasteProcessor.cs (5)
67
/// All the spans of <see cref="
StringExpressionBeforePasteInfo
"/>'s <see cref="StringInfo.ContentSpans"/>
115
TextContentsSpansAfterPaste =
StringExpressionBeforePasteInfo
.ContentSpans.SelectAsArray(MapSpanForward);
117
Contract.ThrowIfTrue(
StringExpressionBeforePasteInfo
.ContentSpans.IsEmpty);
143
var quotesToAddCount = (longestQuoteSequence -
StringExpressionBeforePasteInfo
.DelimiterQuoteCount) + 1;
165
var dollarsToAddCount = (longestBraceSequence -
StringExpressionBeforePasteInfo
.DelimiterDollarCount) + 1;
StringCopyPaste\KnownSourcePasteProcessor.cs (6)
175
contentSpansAfterBasicPaste =
StringExpressionBeforePasteInfo
.ContentSpans.SelectAsArray(
182
var finalDollarSignCount =
StringExpressionBeforePasteInfo
.DelimiterDollarCount +
193
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.ContentSpans.First().Start, 0), quotesToAdd));
198
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace));
214
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace));
218
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
StringCopyPaste\UnknownSourcePasteProcessor.cs (5)
130
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.ContentSpans.First().Start, 0), quotesToAdd));
141
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
170
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace));
214
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace));
221
Changes.Last().OldEnd ==
StringExpressionBeforePasteInfo
.ContentSpans.Last().End &&