178 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 (15)
Binder\Binder_Expressions.cs (1)
7456
if (node.Token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
Parser\LanguageParser.cs (3)
10950
case SyntaxKind.
MultiLineRawStringLiteralToken
:
11247
case SyntaxKind.
MultiLineRawStringLiteralToken
:
11884
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Parser\Lexer.cs (1)
383
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Parser\Lexer_RawStringLiteral.cs (3)
73
Debug.Assert(info.Kind is (SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
));
83
case SyntaxKind.
MultiLineRawStringLiteralToken
:
135
info.Kind = SyntaxKind.
MultiLineRawStringLiteralToken
;
Syntax.xml.Internal.Generated.cs (2)
29142
case SyntaxKind.
MultiLineRawStringLiteralToken
:
34509
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Syntax.xml.Main.Generated.cs (1)
2961
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Syntax\SyntaxEquivalence.cs (1)
92
case SyntaxKind.
MultiLineRawStringLiteralToken
:
Syntax\SyntaxKindFacts.cs (3)
215
case SyntaxKind.
MultiLineRawStringLiteralToken
:
245
case SyntaxKind.
MultiLineRawStringLiteralToken
:
602
SyntaxKind.
MultiLineRawStringLiteralToken
=> SyntaxKind.StringLiteralExpression,
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (2)
35
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
80
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (3)
329
SyntaxKind.
MultiLineRawStringLiteralToken
or
349
if (kind is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
406
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
480
case SyntaxKind.
MultiLineRawStringLiteralToken
:
1104
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
62
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)
81
if (token.IsKind(SyntaxKind.
MultiLineRawStringLiteralToken
))
Microsoft.CodeAnalysis.CSharp.EditorFeatures (6)
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
107
SyntaxKind.
MultiLineRawStringLiteralToken
or
StringCopyPaste\StringCopyPasteHelpers.cs (3)
161
=> expression is LiteralExpressionSyntax { Token.RawKind: (int)SyntaxKind.
MultiLineRawStringLiteralToken
} or
168
=> literal.Token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
;
269
(int)SyntaxKind.
MultiLineRawStringLiteralToken
,
StringCopyPaste\StringInfo.cs (1)
109
else if (literal.Token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
)
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
60
var isRawStringLiteral = token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.Utf8SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken;
Microsoft.CodeAnalysis.CSharp.Features (8)
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (1)
243
SyntaxKind.
MultiLineRawStringLiteralToken
,
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (2)
34
if (token.Kind() is not (SyntaxKind.StringLiteralToken or SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
))
60
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
)
RawStringLiteral\CSharpRawStringLiteralOnAutoInsertService.cs (2)
116
SyntaxKind.
MultiLineRawStringLiteralToken
or
169
else if (token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or 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)
67
if (child.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
Structure\Providers\StringLiteralExpressionStructureProvider.cs (1)
43
if (node.Token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (116)
LexicalAndXml\RawStringLiteralLexingTests.cs (108)
50
[InlineData("\"\"\"\n{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n")]
51
[InlineData("\"\"\"\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\"")]
52
[InlineData("\"\"\"\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\"\"")]
53
[InlineData("\"\"\"\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\"\"\"")]
54
[InlineData("\"\"\"\n\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
55
[InlineData("\"\"\" \n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"")]
56
[InlineData("\"\"\" \n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"")]
57
[InlineData("\"\"\" \n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"\"")]
58
[InlineData("\"\"\" \n\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
59
[InlineData("\"\"\" \n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"")]
60
[InlineData("\"\"\" \n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"")]
61
[InlineData("\"\"\" \n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n\"\"\"")]
62
[InlineData("\"\"\" \n\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
63
[InlineData("\"\"\"\n \"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n \"")]
64
[InlineData("\"\"\"\n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n \"\"")]
65
[InlineData("\"\"\" \n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n \"\"")]
66
[InlineData("\"\"\" \n \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n \"\"")]
67
[InlineData("\"\"\" \n {|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \n \"\"\"")]
68
[InlineData("\"\"\" \n\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
69
[InlineData("\"\"\" \na\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a\"")]
70
[InlineData("\"\"\" \na\"\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a\"\"")]
71
[InlineData("\"\"\" \n\"a\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"a")]
72
[InlineData("\"\"\" \n\"\"a\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"a")]
73
[InlineData("\"\"\" \na{|CS9000:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\"\"\"")]
74
[InlineData("\"\"\" \na{|CS9000:\"\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\"\"\"\"")]
75
[InlineData("\"\"\" \na\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a")]
76
[InlineData("\"\"\" \n a\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a")]
77
[InlineData("\"\"\" \na \n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a ")]
78
[InlineData("\"\"\" \n a \n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a ")]
79
[InlineData("\"\"\" \na\n\"\"\"{|CS8998:\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\n\"\"\"\"")]
80
[InlineData("\"\"\" \na\n\"\"\"{|CS8998:\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\n\"\"\"\"\"")]
81
[InlineData("\"\"\" \na\n\"\"\"{|CS8998:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \na\n\"\"\"\"\"\"")]
82
[InlineData("\"\"\"\r\n{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n")]
83
[InlineData("\"\"\"\r\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n\"")]
84
[InlineData("\"\"\"\r\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n\"\"")]
85
[InlineData("\"\"\"\r\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n\"\"\"")]
86
[InlineData("\"\"\"\r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
87
[InlineData("\"\"\" \r\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"")]
88
[InlineData("\"\"\" \r\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"")]
89
[InlineData("\"\"\" \r\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"\"")]
90
[InlineData("\"\"\" \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
91
[InlineData("\"\"\" \r\n\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"")]
92
[InlineData("\"\"\" \r\n\"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"")]
93
[InlineData("\"\"\" \r\n{|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n\"\"\"")]
94
[InlineData("\"\"\" \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
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 \"\"{|CS8997:|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n \"\"")]
99
[InlineData("\"\"\" \r\n {|CS9002:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\n \"\"\"")]
100
[InlineData("\"\"\" \r\n\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
101
[InlineData("\"\"\" \r\na{|CS9000:\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\na\"\"\"")]
102
[InlineData("\"\"\" \r\na{|CS9000:\"\"\"\"|}", SyntaxKind.
MultiLineRawStringLiteralToken
, " \r\na\"\"\"\"")]
103
[InlineData("\"\"\" \r\na\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a")]
104
[InlineData("\"\"\" \r\n a\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a")]
105
[InlineData("\"\"\" \r\na \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "a ")]
106
[InlineData("\"\"\" \r\n a \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a ")]
107
[InlineData("\"\"\" \r\n\r\n a \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n a ")]
108
[InlineData("\"\"\" \r\n a \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " a \r\n")]
109
[InlineData("\"\"\" \r\n\r\n a \r\n\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n a \r\n")]
110
[InlineData("\"\"\" \n\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"")]
111
[InlineData("\"\"\" \n\"\"\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"")]
112
[InlineData("\"\"\"\" \n\"\"\"\n\"\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"\"")]
115
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n def")]
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\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
120
[InlineData("\"\"\"\r\n abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc")]
121
[InlineData("\"\"\"\n\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
122
[InlineData("\"\"\"\r\n{|CS8999: |}abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n abc\r\n \"\"\"")]
123
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc\r\n def")]
124
[InlineData("\"\"\"\r\n \" abc \"\r\n \"\" def \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " \" abc \"\r\n \"\" def \"\"")]
125
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " ")]
126
[InlineData("\"\"\"\r\n \" abc \"\r\n \"\" def \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " \" abc \"\r\n \"\" def \"\"")]
127
[InlineData("\"\"\"\n{|CS9003:\t|}\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\t\n \"\"\"")]
128
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc ")]
129
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc ")]
130
[InlineData("\"\"\"\r\n \" abc \"\r\n \"\" def \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\" abc \"\r\n\"\" def \"\"")]
131
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc ")]
132
[InlineData("\"\"\"\r\n abc\r\n{|CS8999:|}def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\n abc\r\ndef\r\n \"\"\"")]
133
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
134
[InlineData("\"\"\"\n{|CS9003: |}\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n \n\t\"\"\"")]
135
[InlineData("\"\"\"\r\n abc\r\n\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n\r\ndef")]
136
[InlineData("\"\"\"\r\n abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc")]
137
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n \r\ndef")]
138
[InlineData("\"\"\"\r\n abc \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc ")]
139
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n \r\ndef")]
140
[InlineData("\"\"\"\n\t\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "")]
141
[InlineData("\"\"\"\r\n{|CS8999:|}abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\r\nabc\r\n \"\"\"")]
142
[InlineData("\"\"\"\r\n abc \r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc ")]
143
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n \r\ndef")]
144
[InlineData("\"\"\"\r\n \r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " ")]
145
[InlineData("\"\"\"\n{|CS9003: |}abc\n\t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n abc\n\t\"\"\"")]
146
[InlineData("\"\"\"\r\n abc\r\n \r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\n\r\ndef")]
147
[InlineData("\"\"\"\r\n abc\r\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc")]
148
[InlineData("\"\"\"\n{|CS9003:\t|}abc\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n\tabc\n \"\"\"")]
149
[InlineData("\"\"\"\n{|CS8999: |}abc\n \t\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\n abc\n \t\"\"\"")]
150
[InlineData("\"\"\"\n\t\n\"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\t")]
151
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc\r\ndef")]
152
[InlineData("\"\"\"\n \tabc\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\tabc")]
153
[InlineData("\"\"\"\r\n abc\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " abc")]
154
[InlineData("\"\"\"\r\n abc\r\n def\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "abc\r\ndef")]
155
[InlineData("\"\"\"\r\n \"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, "\"\"")]
156
[InlineData("\"\"\"\r\n \"abc\"\r\n \"\"def\"\"\r\n \"\"\"", SyntaxKind.
MultiLineRawStringLiteralToken
, " \"abc\"\r\n \"\"def\"\"")]
157
[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)
433
or 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 (10)
Classification\ClassificationHelpers.cs (1)
155
or SyntaxKind.
MultiLineRawStringLiteralToken
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (2)
35
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
80
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (3)
329
SyntaxKind.
MultiLineRawStringLiteralToken
or
349
if (kind is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
406
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
480
case SyntaxKind.
MultiLineRawStringLiteralToken
:
1104
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
62
public int? MultiLineRawStringLiteralToken => (int)SyntaxKind.
MultiLineRawStringLiteralToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
81
if (token.IsKind(SyntaxKind.
MultiLineRawStringLiteralToken
))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
142
if (token.Kind() is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
Roslyn.Diagnostics.CSharp.Analyzers (9)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (2)
35
if (token.Kind() is SyntaxKind.
MultiLineRawStringLiteralToken
or SyntaxKind.Utf8MultiLineRawStringLiteralToken)
80
case SyntaxKind.
MultiLineRawStringLiteralToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (3)
329
SyntaxKind.
MultiLineRawStringLiteralToken
or
349
if (kind is SyntaxKind.SingleLineRawStringLiteralToken or SyntaxKind.
MultiLineRawStringLiteralToken
)
406
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
480
case SyntaxKind.
MultiLineRawStringLiteralToken
:
1104
SyntaxKind.
MultiLineRawStringLiteralToken
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
62
public int? MultiLineRawStringLiteralToken => (int)SyntaxKind.
MultiLineRawStringLiteralToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
81
if (token.IsKind(SyntaxKind.
MultiLineRawStringLiteralToken
))