14 references to StringCopyPasteContentKind
Microsoft.CodeAnalysis.CSharp.EditorFeatures (14)
StringCopyPaste\StringCopyPasteContent.cs (14)
16
public
StringCopyPasteContentKind
Kind { get; }
19
/// The actual string value for <see cref="
StringCopyPasteContentKind
.Text"/>. <see langword="null"/> for <see
20
/// cref="
StringCopyPasteContentKind
.Interpolation"/>.
26
/// cref="
StringCopyPasteContentKind
.Interpolation"/>. <see langword="null"/> for <see
27
/// cref="
StringCopyPasteContentKind
.Text"/>.
33
/// cref="
StringCopyPasteContentKind
.Interpolation"/>. <see langword="null"/> for <see
34
/// cref="
StringCopyPasteContentKind
.Text"/>.
40
/// cref="
StringCopyPasteContentKind
.Interpolation"/>. <see langword="null"/> for <see
41
/// cref="
StringCopyPasteContentKind
.Text"/>.
47
StringCopyPasteContentKind
kind,
62
public bool IsText => Kind ==
StringCopyPasteContentKind
.Text;
66
public bool IsInterpolation => Kind ==
StringCopyPasteContentKind
.Interpolation;
69
=> new(
StringCopyPasteContentKind
.Text, text, null, null, null);
72
=> new(
StringCopyPasteContentKind
.Interpolation, null, expression, alignmentClause, formatClause);