11 references to NewKeyword
Microsoft.CodeAnalysis.VisualBasic (7)
Binding\Binder_AnonymousTypes.vb (1)
22
Return AnonymousTypeCreationBinder.BindAnonymousObjectInitializer(Me, node, node.Initializer, node.
NewKeyword
, diagnostics)
Generated\Syntax.xml.Main.Generated.vb (2)
3994
Dim newNewKeyword = DirectCast(VisitToken(node.
NewKeyword
).Node, InternalSyntax.KeywordSyntax)
3995
If node.
NewKeyword
.Node IsNot newNewKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
23569
Return Me.
NewKeyword
23613
return Update(Me.
NewKeyword
, attributeLists, Me.Initializer)
23639
return Update(Me.
NewKeyword
, Me.AttributeLists, initializer)
23692
If newKeyword <> Me.
NewKeyword
OrElse attributeLists <> Me.AttributeLists OrElse initializer IsNot Me.Initializer Then
Microsoft.CodeAnalysis.VisualBasic.Features (1)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1680
Return TextSpan.FromBounds(newWith.
NewKeyword
.Span.Start,
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\AnonymousTypes\AnonymousTypesSemanticsTests.vb (1)
153
Assert.Equal(localType.Locations(0), anonObjectCreation.
NewKeyword
.GetLocation())
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
20591
Assert.NotNull(objectUnderTest.
newKeyword
)
20593
Dim withObj = objectUnderTest.WithNewKeyword(objectUnderTest.
NewKeyword
).WithAttributeLists(objectUnderTest.AttributeLists).WithInitializer(objectUnderTest.Initializer)