24 references to TokenList
Microsoft.CodeAnalysis.CSharp (3)
CSharpExtensions.cs (1)
275
return SyntaxFactory.
TokenList
(items);
Syntax\SyntaxFactory.cs (2)
1073
return XmlTextAttribute(XmlName(name), SyntaxKind.DoubleQuoteToken,
TokenList
(textTokens));
1196
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.DotNet.GenAPI (1)
INamedTypeSymbolExtensions.cs (1)
210
SyntaxFactory.
TokenList
([ SyntaxFactory.Token(visibility) ]),
Microsoft.Gen.Logging.Unit.Tests (2)
ParserUtilitiesTests.cs (2)
21
SyntaxFactory.
TokenList
(
32
SyntaxFactory.
TokenList
(
Microsoft.Interop.ComInterfaceGenerator (7)
ComInterfaceGenerator.cs (3)
569
.WithModifiers(
TokenList
(Token(SyntaxKind.FileKeyword), Token(SyntaxKind.UnsafeKeyword), Token(SyntaxKind.PartialKeyword)));
606
.WithModifiers(
TokenList
(Token(SyntaxKind.FileKeyword), Token(SyntaxKind.UnsafeKeyword)));
848
.WithModifiers(
TokenList
(Token(SyntaxKind.PublicKeyword), Token(SyntaxKind.StaticKeyword), Token(SyntaxKind.ReadOnlyKeyword)))
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[]{
System.Text.RegularExpressions.Generator (3)
UpgradeToGeneratedRegexCodeFixer.cs (3)
151
.WithModifiers(SyntaxFactory.
TokenList
(
194
.WithModifiers(SyntaxFactory.
TokenList
([
244
.WithModifiers(SyntaxFactory.
TokenList
([.. propertyDeclaration.Modifiers, SyntaxFactory.Token(SyntaxKind.PartialKeyword)]))