14 references to StringCopyPasteContentKind
Microsoft.CodeAnalysis.CSharp.EditorFeatures (14)
StringCopyPaste\StringCopyPasteContent.cs (14)
16
StringCopyPasteContentKind
kind,
22
public
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"/>.
53
public bool IsText => Kind ==
StringCopyPasteContentKind
.Text;
57
public bool IsInterpolation => Kind ==
StringCopyPasteContentKind
.Interpolation;
60
=> new(
StringCopyPasteContentKind
.Text, text, null, null, null);
63
=> new(
StringCopyPasteContentKind
.Interpolation, null, expression, alignmentClause, formatClause);