25 references to StringPieceKind
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (25)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.StringPiece.vb (23)
14
Public ReadOnly Kind As
StringPieceKind
16
Public Sub New(value As String, kind As
StringPieceKind
)
43
Case
StringPieceKind
.Normal
47
Case
StringPieceKind
.NonPrintable
49
Case
StringPieceKind
.Cr
51
Case
StringPieceKind
.Lf
53
Case
StringPieceKind
.CrLf
55
Case
StringPieceKind
.NullChar
57
Case
StringPieceKind
.Back
59
Case
StringPieceKind
.FormFeed
61
Case
StringPieceKind
.Tab
63
Case
StringPieceKind
.VerticalTab
103
result.Add(New StringPiece(sb.ToString(),
StringPieceKind
.Normal))
108
result.Add(New StringPiece(Nothing,
StringPieceKind
.NullChar))
110
result.Add(New StringPiece(Nothing,
StringPieceKind
.Back))
112
result.Add(New StringPiece(Nothing,
StringPieceKind
.FormFeed))
114
result.Add(New StringPiece(Nothing,
StringPieceKind
.Tab))
116
result.Add(New StringPiece(Nothing,
StringPieceKind
.VerticalTab))
119
result.Add(New StringPiece(Nothing,
StringPieceKind
.CrLf))
122
result.Add(New StringPiece(Nothing,
StringPieceKind
.Cr))
125
result.Add(New StringPiece(Nothing,
StringPieceKind
.Lf))
127
result.Add(New StringPiece(c,
StringPieceKind
.NonPrintable))
133
result.Add(New StringPiece(sb.ToString(),
StringPieceKind
.Normal))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
115
If pieces.Count = 1 AndAlso pieces(0).Kind =
StringPieceKind
.NonPrintable Then
365
If piece.Kind =
StringPieceKind
.Normal Then