62 references to GenerateRedIdentifierToken
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (62)
Generated\Syntax.Test.xml.Generated.vb (61)
10110
SyntaxFactory.ImportAliasClause(
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword))
10117
return SyntaxFactory.ImportAliasClause(
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.EqualsToken))
10325
SyntaxFactory.ModuleStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing)
10340
return SyntaxFactory.ModuleStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ModuleKeyword),
GenerateRedIdentifierToken
(), Nothing)
10346
SyntaxFactory.StructureStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing)
10361
return SyntaxFactory.StructureStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.StructureKeyword),
GenerateRedIdentifierToken
(), Nothing)
10367
SyntaxFactory.InterfaceStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing)
10382
return SyntaxFactory.InterfaceStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.InterfaceKeyword),
GenerateRedIdentifierToken
(), Nothing)
10388
SyntaxFactory.ClassStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing)
10403
return SyntaxFactory.ClassStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ClassKeyword),
GenerateRedIdentifierToken
(), Nothing)
10409
SyntaxFactory.EnumStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing)
10424
return SyntaxFactory.EnumStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EnumKeyword),
GenerateRedIdentifierToken
(), Nothing)
10466
return SyntaxFactory.TypeParameter(Nothing,
GenerateRedIdentifierToken
(), Nothing)
10605
return SyntaxFactory.EnumMemberDeclaration(Nothing,
GenerateRedIdentifierToken
(), Nothing)
10863
SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing, Nothing)
10871
SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing, Nothing)
10886
return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing, Nothing)
10892
SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing, Nothing)
10900
SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing, Nothing)
10915
return SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing, Nothing)
10942
SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), Nothing, Nothing, Nothing, Nothing, Nothing)
10950
SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
10958
SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
10966
SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
10982
SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
10989
return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
10995
SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), Nothing, Nothing, Nothing, Nothing, Nothing)
11003
SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
11011
SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
11019
SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
11035
SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
11042
return SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.LibKeyword), GenerateRedCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
11048
SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11056
SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11064
SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11079
return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11085
SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11093
SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11101
SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11116
return SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11122
SyntaxFactory.EventStatement(Nothing, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11137
return SyntaxFactory.EventStatement(Nothing, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EventKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11172
SyntaxFactory.PropertyStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing)
11187
return SyntaxFactory.PropertyStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.PropertyKeyword),
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing, Nothing)
11352
return SyntaxFactory.WithEventsEventContainer(
GenerateRedIdentifierToken
())
11614
return SyntaxFactory.ModifiedIdentifier(
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
11840
SyntaxFactory.LabelStatement(
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword))
11847
return SyntaxFactory.LabelStatement(
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.ColonToken))
11881
return SyntaxFactory.IdentifierLabel(
GenerateRedIdentifierToken
())
13945
SyntaxFactory.MidExpression(
GenerateRedIdentifierToken
(), Nothing)
13960
return SyntaxFactory.MidExpression(
GenerateRedIdentifierToken
(), GenerateRedArgumentList())
14361
return SyntaxFactory.NamedTupleElement(
GenerateRedIdentifierToken
(), Nothing)
16469
return SyntaxFactory.FunctionAggregation(
GenerateRedIdentifierToken
(), Nothing, Nothing, Nothing)
17373
return SyntaxFactory.IdentifierName(
GenerateRedIdentifierToken
())
17379
SyntaxFactory.GenericName(
GenerateRedIdentifierToken
(), Nothing)
17394
return SyntaxFactory.GenericName(
GenerateRedIdentifierToken
(), GenerateRedTypeArgumentList())
18054
SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ConstKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.EqualsToken), Nothing)
18062
SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.ConstKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateRedKeywordEventContainer())
18070
SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateRedKeywordEventContainer())
18086
SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ConstKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), GenerateRedKeywordEventContainer())
18093
return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ConstKeyword),
GenerateRedIdentifierToken
(), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateRedKeywordEventContainer())
Syntax\ManualTests.vb (1)
50
Dim objUnderTest As VisualBasicSyntaxNode = SyntaxFactory.OnErrorGoToStatement(SyntaxKind.OnErrorGoToLabelStatement, SyntaxFactory.Token(SyntaxKind.OnKeyword), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.GoToKeyword), Nothing, SyntaxFactory.IdentifierLabel(
GenerateRedIdentifierToken
()))