1 instantiation of StringCopyPasteData
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\StringCopyPasteData.cs (1)
77? new StringCopyPasteData([content])
11 references to StringCopyPasteData
Microsoft.CodeAnalysis.CSharp.EditorFeatures (11)
StringCopyPaste\KnownSourcePasteProcessor.cs (2)
35StringCopyPasteData copyPasteData, 46private readonly StringCopyPasteData _copyPasteData = copyPasteData;
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
218var copyPasteData = StringCopyPasteData.FromJson(clipboardData);
StringCopyPaste\StringCopyPasteCommandHandler_CutCopy.cs (1)
87var stringData = StringCopyPasteData.TryCreate(virtualCharService, stringExpression, span.Span.ToTextSpan());
StringCopyPaste\StringCopyPasteData.cs (7)
32return JsonSerializer.Serialize(this, typeof(StringCopyPasteData)); 41public static StringCopyPasteData? FromJson(string? json) 48var value = JsonSerializer.Deserialize(JsonDocument.Parse(json), typeof(StringCopyPasteData)); 52return (StringCopyPasteData)value; 67public static StringCopyPasteData? TryCreate(IVirtualCharLanguageService virtualCharService, ExpressionSyntax stringExpression, TextSpan selectionSpan) 75private static StringCopyPasteData? TryCreateForLiteral(IVirtualCharLanguageService virtualCharService, LiteralExpressionSyntax literal, TextSpan span) 140private static StringCopyPasteData? TryCreateForInterpolatedString(