18 references to TokenList
Microsoft.CodeAnalysis.CSharp (3)
CSharpExtensions.cs (1)
275
return SyntaxFactory.
TokenList
(items);
Syntax\SyntaxFactory.cs (2)
1044
return XmlTextAttribute(XmlName(name), SyntaxKind.DoubleQuoteToken,
TokenList
(textTokens));
1167
return XmlText(
TokenList
(textTokens));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (2)
1902
: SyntaxFactory.
TokenList
(someToken, someToken);
3601
var emptyTokenList = SyntaxFactory.
TokenList
(emptyToken, emptyToken);
Syntax\SyntaxTokenListTests.cs (2)
64
: SyntaxFactory.
TokenList
(SyntaxFactory.ParseToken("A "), SyntaxFactory.ParseToken("B "), SyntaxFactory.ParseToken("C "));
244
var list = SyntaxFactory.
TokenList
(
Microsoft.Gen.Logging.Unit.Tests (2)
ParserUtilitiesTests.cs (2)
21
SyntaxFactory.
TokenList
(
32
SyntaxFactory.
TokenList
(
Microsoft.Interop.ComInterfaceGenerator (5)
ComInterfaceGenerator.cs (1)
479
.WithModifiers(
TokenList
(Token(SyntaxKind.FileKeyword), Token(SyntaxKind.UnsafeKeyword), Token(SyntaxKind.PartialKeyword)));
VirtualMethodPointerStubGenerator.cs (1)
167
.WithModifiers(
TokenList
(Token(SyntaxKind.InternalKeyword), Token(SyntaxKind.StaticKeyword)))
VtableIndexStubGenerator.cs (3)
30
TokenList
(Token(SyntaxKind.InternalKeyword), Token(SyntaxKind.PartialKeyword)),
431
.WithModifiers(
TokenList
(Token(SyntaxKind.InternalKeyword), Token(SyntaxKind.PartialKeyword)))
443
.WithModifiers(
TokenList
(Token(SyntaxKind.InternalKeyword), Token(SyntaxKind.StaticKeyword), Token(SyntaxKind.UnsafeKeyword)))
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (4)
145
.WithModifiers(
TokenList
(new[] { Token(SyntaxKind.InternalKeyword), Token(SyntaxKind.StaticKeyword), Token(SyntaxKind.UnsafeKeyword) }))
246
.WithModifiers(
TokenList
(new[] { Token(SyntaxKind.StaticKeyword) }))
285
.WithModifiers(
TokenList
(new[] {
295
.WithModifiers(
TokenList
(new SyntaxToken[]{