165 references to MultiLineRawStringLiteralToken
Microsoft.AspNetCore.App.Analyzers (3)
Infrastructure\VirtualChars\CSharpVirtualCharService.cs (2)
30
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
79
case SyntaxKind.
MultiLineRawStringLiteralToken
:
RouteEmbeddedLanguage\Infrastructure\RouteStringSyntaxDetector.cs (1)
50
rawKind == (int)SyntaxKind.
MultiLineRawStringLiteralToken
||
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (1)
7329
if (node.Token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
Parser\LanguageParser.cs (3)
10574
case SyntaxKind.
MultiLineRawStringLiteralToken
:
10871
case SyntaxKind.
MultiLineRawStringLiteralToken
:
11484
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Parser\Lexer.cs (1)
394
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Parser\Lexer_RawStringLiteral.cs (3)
104
Debug.Assert(info.Kind is (SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
));
114
case SyntaxKind.
MultiLineRawStringLiteralToken
:
185
info.Kind = SyntaxKind.
MultiLineRawStringLiteralToken
;
Syntax\SyntaxEquivalence.cs (1)
92
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Syntax\SyntaxKindFacts.cs (3)
215
case SyntaxKind.
MultiLineRawStringLiteralToken
:
245
case SyntaxKind.
MultiLineRawStringLiteralToken
:
577
SyntaxKind.
MultiLineRawStringLiteralToken
=> SyntaxKind.StringLiteralExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (2)
36
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
81
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (3)
325
SyntaxKind.
MultiLineRawStringLiteralToken
or
345
if (kind is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
402
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
485
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
60
public int? MultiLineRawStringLiteralToken => (int)SyntaxKind.
MultiLineRawStringLiteralToken
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
150
else if (stringLiteral.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
84
if (token.IsKind(SyntaxKind.
MultiLineRawStringLiteralToken
))
Microsoft.CodeAnalysis.CSharp.EditorFeatures (9)
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
94
SyntaxKind.
MultiLineRawStringLiteralToken
or
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (2)
171
SyntaxKind.
MultiLineRawStringLiteralToken
or
229
else if (token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
StringCopyPaste\StringCopyPasteHelpers.cs (3)
160
=> expression is LiteralExpressionSyntax { Token.RawKind: (int)SyntaxKind.
MultiLineRawStringLiteralToken
} or
167
=> literal.Token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
;
268
(int)SyntaxKind.
MultiLineRawStringLiteralToken
,
StringCopyPaste\StringInfo.cs (1)
109
else if (literal.Token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
)
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (2)
41
case SyntaxKind.
MultiLineRawStringLiteralToken
:
105
SyntaxKind.
MultiLineRawStringLiteralToken
or
Microsoft.CodeAnalysis.CSharp.Features (6)
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (1)
243
SyntaxKind.
MultiLineRawStringLiteralToken
,
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (2)
42
if (token.Kind() is not (SyntaxKind.StringLiteralToken or SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
))
70
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
150
else if (stringLiteral.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
StringIndentation\CSharpStringIndentationService.cs (1)
66
if (child.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
Structure\Providers\StringLiteralExpressionStructureProvider.cs (1)
38
if (node.Token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (116)
LexicalAndXml\RawStringLiteralLexingTests.cs (108)
49
[InlineData("\"\"\"\n{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n")]
50
[InlineData("\"\"\"\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\"")]
51
[InlineData("\"\"\"\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\"\"")]
52
[InlineData("\"\"\"\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\"\"\"")]
53
[InlineData("\"\"\"\n\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
54
[InlineData("\"\"\" \n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"")]
55
[InlineData("\"\"\" \n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"")]
56
[InlineData("\"\"\" \n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"\"")]
57
[InlineData("\"\"\" \n\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
58
[InlineData("\"\"\" \n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"")]
59
[InlineData("\"\"\" \n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"")]
60
[InlineData("\"\"\" \n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"\"")]
61
[InlineData("\"\"\" \n\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
62
[InlineData("\"\"\"\n \"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n \"")]
63
[InlineData("\"\"\"\n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n \"\"")]
64
[InlineData("\"\"\" \n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n \"\"")]
65
[InlineData("\"\"\" \n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n \"\"")]
66
[InlineData("\"\"\" \n {|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n \"\"\"")]
67
[InlineData("\"\"\" \n\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
68
[InlineData("\"\"\" \na\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a\"")]
69
[InlineData("\"\"\" \na\"\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a\"\"")]
70
[InlineData("\"\"\" \n\"a\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"a")]
71
[InlineData("\"\"\" \n\"\"a\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"a")]
72
[InlineData("\"\"\" \na{|CS9000:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\"\"\"")]
73
[InlineData("\"\"\" \na{|CS9000:\"\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\"\"\"\"")]
74
[InlineData("\"\"\" \na\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a")]
75
[InlineData("\"\"\" \n a\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a")]
76
[InlineData("\"\"\" \na \n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a ")]
77
[InlineData("\"\"\" \n a \n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a ")]
78
[InlineData("\"\"\" \na\n\"\"\"{|CS8998:\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\n\"\"\"\"")]
79
[InlineData("\"\"\" \na\n\"\"\"{|CS8998:\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\n\"\"\"\"\"")]
80
[InlineData("\"\"\" \na\n\"\"\"{|CS8998:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\n\"\"\"\"\"\"")]
81
[InlineData("\"\"\"\r\n{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n")]
82
[InlineData("\"\"\"\r\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n\"")]
83
[InlineData("\"\"\"\r\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n\"\"")]
84
[InlineData("\"\"\"\r\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n\"\"\"")]
85
[InlineData("\"\"\"\r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
86
[InlineData("\"\"\" \r\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"")]
87
[InlineData("\"\"\" \r\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"")]
88
[InlineData("\"\"\" \r\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"\"")]
89
[InlineData("\"\"\" \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
90
[InlineData("\"\"\" \r\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"")]
91
[InlineData("\"\"\" \r\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"")]
92
[InlineData("\"\"\" \r\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"\"")]
93
[InlineData("\"\"\" \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
94
[InlineData("\"\"\"\r\n \"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n \"")]
95
[InlineData("\"\"\"\r\n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n \"\"")]
96
[InlineData("\"\"\" \r\n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n \"\"")]
97
[InlineData("\"\"\" \r\n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n \"\"")]
98
[InlineData("\"\"\" \r\n {|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n \"\"\"")]
99
[InlineData("\"\"\" \r\n\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
100
[InlineData("\"\"\" \r\na{|CS9000:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\na\"\"\"")]
101
[InlineData("\"\"\" \r\na{|CS9000:\"\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\na\"\"\"\"")]
102
[InlineData("\"\"\" \r\na\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a")]
103
[InlineData("\"\"\" \r\n a\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a")]
104
[InlineData("\"\"\" \r\na \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a ")]
105
[InlineData("\"\"\" \r\n a \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a ")]
106
[InlineData("\"\"\" \r\n\r\n a \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n a ")]
107
[InlineData("\"\"\" \r\n a \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a \r\n")]
108
[InlineData("\"\"\" \r\n\r\n a \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n a \r\n")]
109
[InlineData("\"\"\" \n\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"")]
110
[InlineData("\"\"\" \n\"\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"")]
111
[InlineData("\"\"\"\" \n\"\"\"\n\"\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"")]
114
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n def")]
115
[InlineData("\"\"\"\"\r\n \"\"\"\r\n \"\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"")]
116
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
117
[InlineData("\"\"\"\r\n \"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"")]
118
[InlineData("\"\"\"\r\n\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
119
[InlineData("\"\"\"\r\n abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc")]
120
[InlineData("\"\"\"\n\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
121
[InlineData("\"\"\"\r\n{|CS8999: |}abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n abc\r\n \"\"\"")]
122
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc\r\n def")]
123
[InlineData("\"\"\"\r\n \" abc \"\r\n \"\" def \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " \" abc \"\r\n \"\" def \"\"")]
124
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " ")]
125
[InlineData("\"\"\"\r\n \" abc \"\r\n \"\" def \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " \" abc \"\r\n \"\" def \"\"")]
126
[InlineData("\"\"\"\n{|CS9003:\t|}\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\t\n \"\"\"")]
127
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc ")]
128
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc ")]
129
[InlineData("\"\"\"\r\n \" abc \"\r\n \"\" def \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\" abc \"\r\n\"\" def \"\"")]
130
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc ")]
131
[InlineData("\"\"\"\r\n abc\r\n{|CS8999:|}def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n abc\r\ndef\r\n \"\"\"")]
132
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
133
[InlineData("\"\"\"\n{|CS9003: |}\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n \n\t\"\"\"")]
134
[InlineData("\"\"\"\r\n abc\r\n\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n\r\ndef")]
135
[InlineData("\"\"\"\r\n abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc")]
136
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n \r\ndef")]
137
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc ")]
138
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n \r\ndef")]
139
[InlineData("\"\"\"\n\t\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
140
[InlineData("\"\"\"\r\n{|CS8999:|}abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\nabc\r\n \"\"\"")]
141
[InlineData("\"\"\"\r\n abc \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc ")]
142
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n \r\ndef")]
143
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " ")]
144
[InlineData("\"\"\"\n{|CS9003: |}abc\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n abc\n\t\"\"\"")]
145
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n\r\ndef")]
146
[InlineData("\"\"\"\r\n abc\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc")]
147
[InlineData("\"\"\"\n{|CS9003:\t|}abc\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\tabc\n \"\"\"")]
148
[InlineData("\"\"\"\n{|CS8999: |}abc\n \t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n abc\n \t\"\"\"")]
149
[InlineData("\"\"\"\n\t\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\t")]
150
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc\r\ndef")]
151
[InlineData("\"\"\"\n \tabc\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\tabc")]
152
[InlineData("\"\"\"\r\n abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc")]
153
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\ndef")]
154
[InlineData("\"\"\"\r\n \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"")]
155
[InlineData("\"\"\"\r\n \"abc\"\r\n \"\"def\"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " \"abc\"\r\n \"\"def\"\"")]
156
[InlineData("\"\"\"\r\n{|CS8999: |}abc\r\n\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n abc\r\n\r\n def\r\n \"\"\"")]
263
"\"\"\"\r\n" + charValue + "\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, charValue.ToString(), testOutput: false);
298
TestSingleToken("\"\"\"\r\n" + escapeSequence + "\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, escapeSequence);
Parsing\ParsingTests.cs (1)
306
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Parsing\Utf8StringLiteralsParsingTests.cs (4)
64
N(SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"" + @"
807
N(SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"" + @"
831
N(SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"" + @"
853
N(SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"" + @"
Syntax\SyntaxTests.cs (3)
207
[InlineData(SyntaxKind.
MultiLineRawStringLiteralToken
)]
221
[InlineData(SyntaxKind.
MultiLineRawStringLiteralToken
)]
235
[InlineData(SyntaxKind.
MultiLineRawStringLiteralToken
, SyntaxKind.StringLiteralExpression)]
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Classification\ClassificationHelpers.cs (1)
156
or SyntaxKind.
MultiLineRawStringLiteralToken
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (2)
36
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
81
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (3)
325
SyntaxKind.
MultiLineRawStringLiteralToken
or
345
if (kind is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
402
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
485
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
60
public int? MultiLineRawStringLiteralToken => (int)SyntaxKind.
MultiLineRawStringLiteralToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
84
if (token.IsKind(SyntaxKind.
MultiLineRawStringLiteralToken
))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
146
if (token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)