1 write to StringExpressionBeforePasteInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\AbstractPasteProcessor.cs (1)
114StringExpressionBeforePasteInfo = 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"/> 115TextContentsSpansAfterPaste = StringExpressionBeforePasteInfo.ContentSpans.SelectAsArray(MapSpanForward); 117Contract.ThrowIfTrue(StringExpressionBeforePasteInfo.ContentSpans.IsEmpty); 143var quotesToAddCount = (longestQuoteSequence - StringExpressionBeforePasteInfo.DelimiterQuoteCount) + 1; 165var dollarsToAddCount = (longestBraceSequence - StringExpressionBeforePasteInfo.DelimiterDollarCount) + 1;
StringCopyPaste\KnownSourcePasteProcessor.cs (6)
174contentSpansAfterBasicPaste = StringExpressionBeforePasteInfo.ContentSpans.SelectAsArray( 181var finalDollarSignCount = StringExpressionBeforePasteInfo.DelimiterDollarCount + 192edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.ContentSpans.First().Start, 0), quotesToAdd)); 197edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace)); 213edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace)); 217edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
StringCopyPaste\UnknownSourcePasteProcessor.cs (5)
129edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.ContentSpans.First().Start, 0), quotesToAdd)); 140edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd)); 169edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace)); 213edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace)); 220Changes.Last().OldEnd == StringExpressionBeforePasteInfo.ContentSpans.Last().End &&