14 references to StringCopyPasteContentKind
Microsoft.CodeAnalysis.CSharp.EditorFeatures (14)
StringCopyPaste\StringCopyPasteContent.cs (14)
16StringCopyPasteContentKind kind, 22public StringCopyPasteContentKind Kind { get; } = kind; 25/// The actual string value for <see cref="StringCopyPasteContentKind.Text"/>. <see langword="null"/> for <see 26/// cref="StringCopyPasteContentKind.Interpolation"/>. 32/// cref="StringCopyPasteContentKind.Interpolation"/>. <see langword="null"/> for <see 33/// cref="StringCopyPasteContentKind.Text"/>. 39/// cref="StringCopyPasteContentKind.Interpolation"/>. <see langword="null"/> for <see 40/// cref="StringCopyPasteContentKind.Text"/>. 46/// cref="StringCopyPasteContentKind.Interpolation"/>. <see langword="null"/> for <see 47/// cref="StringCopyPasteContentKind.Text"/>. 53public bool IsText => Kind == StringCopyPasteContentKind.Text; 57public bool IsInterpolation => Kind == StringCopyPasteContentKind.Interpolation; 60=> new(StringCopyPasteContentKind.Text, text, null, null, null); 63=> new(StringCopyPasteContentKind.Interpolation, null, expression, alignmentClause, formatClause);