24 references to TokenList
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
TypeSyntaxGeneratorVisitor.vb (1)
52
Dim commas = SyntaxFactory.
TokenList
(Enumerable.Repeat(SyntaxFactory.Token(SyntaxKind.CommaToken), commaCount))
VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
41
Dim tokenList = SyntaxFactory.
TokenList
(node.Modifiers.Where(Function(m) Not m.IsKind(SyntaxKind.ByValKeyword)))
Microsoft.CodeAnalysis.VisualBasic.Features (3)
EncapsulateField\VisualBasicEncapsulateFieldService.vb (1)
60
Dim updatedDeclaration = fieldDeclaration.WithModifiers(SyntaxFactory.
TokenList
(newModifiers)) _
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceField.vb (1)
246
Return SyntaxFactory.
TokenList
(modifiers)
VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
41
Dim tokenList = SyntaxFactory.
TokenList
(node.Modifiers.Where(Function(m) Not m.IsKind(SyntaxKind.ByValKeyword)))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
432
Return SyntaxFactory.
TokenList
(result)
CodeGeneration\ConstructorGenerator.vb (1)
91
Return SyntaxFactory.
TokenList
(tokens)
CodeGeneration\ConversionGenerator.vb (1)
52
SyntaxFactory.
TokenList
(modifiers),
CodeGeneration\EventGenerator.vb (1)
179
Return SyntaxFactory.
TokenList
(tokens)
CodeGeneration\FieldGenerator.vb (1)
131
Return SyntaxFactory.
TokenList
(tokens)
CodeGeneration\MethodGenerator.vb (1)
178
Return SyntaxFactory.
TokenList
(result)
CodeGeneration\NamedTypeGenerator.vb (1)
197
Return SyntaxFactory.
TokenList
(tokens)
CodeGeneration\PropertyGenerator.vb (2)
169
Return SyntaxFactory.
TokenList
(modifiers)
226
Return SyntaxFactory.
TokenList
(tokens)
CodeGeneration\VisualBasicCodeGenerationService.vb (1)
636
Return SyntaxFactory.
TokenList
(newModifiers)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
1477
Dim mods = SyntaxFactory.
TokenList
(propertyStatement.Modifiers.Where(Function(tk) tk.IsKind(SyntaxKind.ReadOnlyKeyword) Or tk.IsKind(SyntaxKind.DefaultKeyword)))
TypeSyntaxGeneratorVisitor.vb (1)
52
Dim commas = SyntaxFactory.
TokenList
(Enumerable.Repeat(SyntaxFactory.Token(SyntaxKind.CommaToken), commaCount))
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
CodeModel\ModifierFlagsExtensions.vb (4)
137
Dim newModifiers = SyntaxFactory.
TokenList
(newModifierList)
139
Return member.WithModifiers(SyntaxFactory.
TokenList
(newModifierList)) _
158
Dim newModifiers = SyntaxFactory.
TokenList
(newModifierList)
160
Return parameter.WithModifiers(SyntaxFactory.
TokenList
(newModifierList)) _
CodeModel\VisualBasicCodeModelService.vb (3)
2045
Return parameter.WithModifiers(SyntaxFactory.
TokenList
(newModifierList))
2586
Dim modifiers = SyntaxFactory.
TokenList
(statement.GetModifiers())
2673
Dim modifiers = SyntaxFactory.
TokenList
(member.GetModifiers())