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