1 write to ContentSpans
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\StringInfo.cs (1)
70ContentSpans = contentSpans;
8 references to ContentSpans
Microsoft.CodeAnalysis.CSharp.EditorFeatures (8)
StringCopyPaste\AbstractPasteProcessor.cs (3)
73/// All the spans of <see cref="StringExpressionBeforePasteInfo"/>'s <see cref="StringInfo.ContentSpans"/> 121TextContentsSpansAfterPaste = StringExpressionBeforePasteInfo.ContentSpans.SelectAsArray(MapSpanForward); 123Contract.ThrowIfTrue(StringExpressionBeforePasteInfo.ContentSpans.IsEmpty);
StringCopyPaste\KnownSourcePasteProcessor.cs (2)
187contentSpansAfterBasicPaste = StringExpressionBeforePasteInfo.ContentSpans.SelectAsArray( 205edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.ContentSpans.First().Start, 0), quotesToAdd));
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
345var contentSpans = StringInfo.GetStringInfo(snapshot.AsText(), stringExpression).ContentSpans;
StringCopyPaste\UnknownSourcePasteProcessor.cs (2)
137edits.Add(new TextChange(new TextSpan(StringExpressionBeforePasteInfo.ContentSpans.First().Start, 0), quotesToAdd)); 228Changes.Last().OldEnd == StringExpressionBeforePasteInfo.ContentSpans.Last().End &&