49 references to NewKeyword
Microsoft.CodeAnalysis.VisualBasic (49)
Binding\Binder_Expressions.vb (1)
2807
CaseInsensitiveComparison.Equals(identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.
NewKeyword
)) Then
Binding\DocumentationCommentCrefBinder.vb (2)
553
If IdentifierComparison.Equals(identifier.Identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.
NewKeyword
)) AndAlso Not token.IsBracketed Then
631
If IdentifierComparison.Equals(identifier.Identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.
NewKeyword
)) AndAlso Not token.IsBracketed Then
Generated\Syntax.xml.Internal.Generated.vb (8)
36288
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
42129
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
42149
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
42191
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
48354
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
54195
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
54215
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
54257
Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.
NewKeyword
)
Generated\Syntax.xml.Main.Generated.vb (19)
8130
Case SyntaxKind.
NewKeyword
:
8151
Case SyntaxKind.
NewKeyword
:
8172
Case SyntaxKind.
NewKeyword
:
8201
Case SyntaxKind.
NewKeyword
:
9587
Case SyntaxKind.
NewKeyword
9615
Return SyntaxFactory.SubNewStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Token(SyntaxKind.
NewKeyword
), parameterList)
9625
Return SyntaxFactory.SubNewStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Token(SyntaxKind.
NewKeyword
), Nothing)
26651
Case SyntaxKind.
NewKeyword
26694
Return SyntaxFactory.ObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.
NewKeyword
), attributeLists, type, argumentList, initializer)
26706
Return SyntaxFactory.ObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.
NewKeyword
), Nothing, type, Nothing, Nothing)
26725
Case SyntaxKind.
NewKeyword
26752
Return SyntaxFactory.AnonymousObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.
NewKeyword
), attributeLists, initializer)
26763
Return SyntaxFactory.AnonymousObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.
NewKeyword
), Nothing, initializer)
26792
Case SyntaxKind.
NewKeyword
26841
Return SyntaxFactory.ArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
NewKeyword
), attributeLists, type, arrayBounds, Nothing, initializer)
26855
Return SyntaxFactory.ArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.
NewKeyword
), Nothing, type, Nothing, Nothing, initializer)
44118
SyntaxKind.
NewKeyword
,
45083
SyntaxKind.
NewKeyword
,
45532
Case SyntaxKind.
NewKeyword
Parser\ParseExpression.vb (2)
353
Case SyntaxKind.
NewKeyword
793
Debug.Assert(CurrentToken.Kind = SyntaxKind.
NewKeyword
, "must be at a New expression.")
Parser\Parser.vb (7)
2129
declarator = ResyncAt(declarator, SyntaxKind.AsKeyword, SyntaxKind.CommaToken, SyntaxKind.
NewKeyword
, SyntaxKind.EqualsToken)
2197
If CurrentToken.Kind = SyntaxKind.
NewKeyword
Then
2837
If Start.Kind = SyntaxKind.
NewKeyword
AndAlso PeekToken(1).Kind = SyntaxKind.IdentifierToken Then
2841
ElseIf Start.Kind = SyntaxKind.OpenBraceToken AndAlso prev IsNot Nothing AndAlso prev.Kind = SyntaxKind.
NewKeyword
Then
3630
If CurrentToken.Kind = SyntaxKind.
NewKeyword
Then
3826
If CurrentToken.Kind = SyntaxKind.
NewKeyword
Then
4415
If CurrentToken.Kind = SyntaxKind.
NewKeyword
Then
Parser\ParseXml.vb (1)
1306
ElseIf CurrentToken.Kind = SyntaxKind.
NewKeyword
Then
Scanner\KeywordTable.vb (1)
112
SyntaxKind.
NewKeyword
, None,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
342
AddKeyword(SyntaxKind.
NewKeyword
)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
572
AddKeyword(SyntaxKind.
NewKeyword
)
SymbolDisplay\SymbolDisplayVisitor.vb (1)
100
CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.
NewKeyword
), text) Then
Symbols\TypeParameterConstraint.vb (1)
76
Return SyntaxKind.
NewKeyword
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
249
SyntaxKind.
NewKeyword
,
Syntax\SyntaxKindFacts.vb (2)
171
SyntaxKind.
NewKeyword
,
481
SyntaxKind.
NewKeyword
,
Syntax\SyntaxNodeFactories.vb (1)
548
SyntaxKind.
NewKeyword
,