24 references to TokenList
Microsoft.CodeAnalysis.CSharp (3)
CSharpExtensions.cs (1)
275return SyntaxFactory.TokenList(items);
Syntax\SyntaxFactory.cs (2)
1073return XmlTextAttribute(XmlName(name), SyntaxKind.DoubleQuoteToken, TokenList(textTokens)); 1196return XmlText(TokenList(textTokens));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (2)
1902: SyntaxFactory.TokenList(someToken, someToken); 3601var emptyTokenList = SyntaxFactory.TokenList(emptyToken, emptyToken);
Syntax\SyntaxTokenListTests.cs (2)
64: SyntaxFactory.TokenList(SyntaxFactory.ParseToken("A "), SyntaxFactory.ParseToken("B "), SyntaxFactory.ParseToken("C ")); 244var list = SyntaxFactory.TokenList(
Microsoft.DotNet.GenAPI (1)
INamedTypeSymbolExtensions.cs (1)
210SyntaxFactory.TokenList([ SyntaxFactory.Token(visibility) ]),
Microsoft.Gen.Logging.Unit.Tests (2)
ParserUtilitiesTests.cs (2)
21SyntaxFactory.TokenList( 32SyntaxFactory.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)
30TokenList(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)]))