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)
174
contentSpansAfterBasicPaste =
StringExpressionBeforePasteInfo
.ContentSpans.SelectAsArray(
181
var finalDollarSignCount =
StringExpressionBeforePasteInfo
.DelimiterDollarCount +
192
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.ContentSpans.First().Start, 0), quotesToAdd));
197
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace));
213
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace));
217
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
StringCopyPaste\UnknownSourcePasteProcessor.cs (5)
129
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.ContentSpans.First().Start, 0), quotesToAdd));
140
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
169
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace));
213
edits.Add(new TextChange(new TextSpan(
StringExpressionBeforePasteInfo
.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace));
220
Changes.Last().OldEnd ==
StringExpressionBeforePasteInfo
.ContentSpans.Last().End &&