187 references to StringLiteralToken
Microsoft.CodeAnalysis.CSharp (25)
Parser\DirectiveParser.cs (7)
392if (this.CurrentToken.Kind == SyntaxKind.StringLiteralToken &&
436var file = EatToken(SyntaxKind.StringLiteralToken, ErrorCode.ERR_MissingPPFile, reportError: reportError);
507SyntaxToken file = this.EatToken(SyntaxKind.StringLiteralToken, ErrorCode.ERR_ExpectedPPFile, reportError: isActive);
527SyntaxToken file = this.EatToken(SyntaxKind.StringLiteralToken, ErrorCode.ERR_ExpectedPPFile, reportError: isActive);
637var file = this.EatToken(SyntaxKind.StringLiteralToken, ErrorCode.WRN_IllegalPPChecksum, reportError: isActive);
638var guid = this.EatToken(SyntaxKind.StringLiteralToken, ErrorCode.WRN_IllegalPPChecksum, reportError: isActive && !file.IsMissing);
648var bytes = this.EatToken(SyntaxKind.StringLiteralToken, ErrorCode.WRN_IllegalPPChecksum, reportError: isActive && !guid.IsMissing);
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (6)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (13)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (118)
Generated\Syntax.Test.xml.Generated.cs (12)
3698Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind);
3729Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind);
3730Assert.Equal(SyntaxKind.StringLiteralToken, node.Guid.Kind);
3731Assert.Equal(SyntaxKind.StringLiteralToken, node.Bytes.Kind);
3745Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind);
3759Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind);
13674Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind());
13705Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind());
13706Assert.Equal(SyntaxKind.StringLiteralToken, node.Guid.Kind());
13707Assert.Equal(SyntaxKind.StringLiteralToken, node.Bytes.Kind());
13721Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind());
13735Assert.Equal(SyntaxKind.StringLiteralToken, node.File.Kind());
LexicalAndXml\LexicalTests.cs (11)
652Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
667Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
682Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
697Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
712Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
728Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
744Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
761Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
777Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
793Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
809Assert.Equal(SyntaxKind.StringLiteralToken, token.Kind());
Parsing\LineSpanDirectiveParsingTests.cs (63)
72N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
113N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
155N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
190N(SyntaxKind.StringLiteralToken, "\"\"");
225N(SyntaxKind.StringLiteralToken, "\" \"");
265N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
299N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
344N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
379N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
416M(SyntaxKind.StringLiteralToken);
453M(SyntaxKind.StringLiteralToken);
490M(SyntaxKind.StringLiteralToken);
527M(SyntaxKind.StringLiteralToken);
564M(SyntaxKind.StringLiteralToken);
601M(SyntaxKind.StringLiteralToken);
638M(SyntaxKind.StringLiteralToken);
675M(SyntaxKind.StringLiteralToken);
712M(SyntaxKind.StringLiteralToken);
749M(SyntaxKind.StringLiteralToken);
786M(SyntaxKind.StringLiteralToken);
824M(SyntaxKind.StringLiteralToken);
887N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
924N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
961N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
998N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1035N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1072N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1109N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1146N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1183N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1220N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1257M(SyntaxKind.StringLiteralToken);
1294N(SyntaxKind.StringLiteralToken, "\"2\"");
1331M(SyntaxKind.StringLiteralToken);
1368M(SyntaxKind.StringLiteralToken);
1405M(SyntaxKind.StringLiteralToken);
1442M(SyntaxKind.StringLiteralToken);
1479M(SyntaxKind.StringLiteralToken);
1516M(SyntaxKind.StringLiteralToken);
1553M(SyntaxKind.StringLiteralToken);
1590M(SyntaxKind.StringLiteralToken);
1627M(SyntaxKind.StringLiteralToken);
1677N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1712N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1762N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1796N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1833N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1870N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1904N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1926N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
1969N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
2015N(SyntaxKind.StringLiteralToken, "\"\"\"file.cs\"\"\"");
2061N(SyntaxKind.StringLiteralToken, "\"\"\"file.cs\"\"\"");
2109N(SyntaxKind.StringLiteralToken, "\"\"\"" + @"
2161N(SyntaxKind.StringLiteralToken, "\"\"\"" + @"
2224N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
2262M(SyntaxKind.StringLiteralToken);
2303N(SyntaxKind.StringLiteralToken, "\"\"\"file.cs\"\"\"");
2341M(SyntaxKind.StringLiteralToken);
2379N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
2418N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
2457N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
2495N(SyntaxKind.StringLiteralToken, "\"file.cs\"");
Parsing\Utf8StringLiteralsParsingTests.cs (14)
26N(SyntaxKind.StringLiteralToken, "\"hello\"");
38N(SyntaxKind.StringLiteralToken, "@\"hello\"");
78N(SyntaxKind.StringLiteralToken, "@\"\"\"hello\"\"\"");
92N(SyntaxKind.StringLiteralToken, "@\"\"\"" + @"
255N(SyntaxKind.StringLiteralToken, "@\"hello\"");
271N(SyntaxKind.StringLiteralToken, "@\"hello\"");
287N(SyntaxKind.StringLiteralToken, "@\"hello\"");
353N(SyntaxKind.StringLiteralToken, "\"hello\"");
369N(SyntaxKind.StringLiteralToken, "\"hello\"");
385N(SyntaxKind.StringLiteralToken, "\"hello\"");
419N(SyntaxKind.StringLiteralToken, "@\"hello\"");
435N(SyntaxKind.StringLiteralToken, "@\"hello\"");
469N(SyntaxKind.StringLiteralToken, "\"hello\"");
485N(SyntaxKind.StringLiteralToken, "\"hello\"");
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)