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)
175contentSpansAfterBasicPaste = StringExpressionBeforePasteInfo.ContentSpans.SelectAsArray( 182var finalDollarSignCount = StringExpressionBeforePasteInfo.DelimiterDollarCount + 193edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.ContentSpans.First().Start, 0), quotesToAdd)); 198edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace)); 214edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace)); 218edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd));
StringCopyPaste\UnknownSourcePasteProcessor.cs (5)
130edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.ContentSpans.First().Start, 0), quotesToAdd)); 141edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpanWithoutSuffix.End, 0), quotesToAdd)); 170edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.StartDelimiterSpan.End, 0), NewLine + IndentationWhitespace)); 214edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.EndDelimiterSpan.Start, 0), NewLine + IndentationWhitespace)); 221Changes.Last().OldEnd == StringExpressionBeforePasteInfo.ContentSpans.Last().End &&