18 references to DelegateKeyword
Microsoft.CodeAnalysis.VisualBasic (10)
Generated\Syntax.xml.Main.Generated.vb (2)
2206
Dim newDelegateKeyword = DirectCast(VisitToken(node.
DelegateKeyword
).Node, InternalSyntax.KeywordSyntax)
2207
If node.
DelegateKeyword
.Node IsNot newDelegateKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (8)
7699
return Update(Me.Kind, attributeLists, Me.Modifiers, Me.
DelegateKeyword
, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7743
return Update(Me.Kind, Me.AttributeLists, modifiers, Me.
DelegateKeyword
, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7787
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DelegateKeyword
, subOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7805
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DelegateKeyword
, Me.SubOrFunctionKeyword, identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7827
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DelegateKeyword
, Me.SubOrFunctionKeyword, Me.Identifier, typeParameterList, Me.ParameterList, Me.AsClause)
7862
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DelegateKeyword
, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, parameterList, Me.AsClause)
7893
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DelegateKeyword
, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, asClause)
7967
If kind <> Me.Kind OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse delegateKeyword <> Me.
DelegateKeyword
OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse identifier <> Me.Identifier OrElse typeParameterList IsNot Me.TypeParameterList OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause Then
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\KeywordRecommenders\Declarations\DelegateSubFunctionKeywordRecommender.vb (1)
27
Return If(context.TargetToken.IsChildToken(Of DelegateStatementSyntax)(Function(delegateDeclaration) delegateDeclaration.
DelegateKeyword
),
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1771
startToken = DirectCast(header, DelegateStatementSyntax).
DelegateKeyword
Structure\VisualBasicStructureHelpers.vb (1)
135
Return If(delegateStatement.Modifiers.FirstOrNull(), delegateStatement.
DelegateKeyword
)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (4)
19094
Assert.NotNull(objectUnderTest.
delegateKeyword
)
19097
Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithDelegateKeyword(objectUnderTest.
DelegateKeyword
).WithSubOrFunctionKeyword(objectUnderTest.SubOrFunctionKeyword).WithIdentifier(objectUnderTest.Identifier).WithTypeParameterList(objectUnderTest.TypeParameterList).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause)
19104
Assert.NotNull(objectUnderTest.
delegateKeyword
)
19107
Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithDelegateKeyword(objectUnderTest.
DelegateKeyword
).WithSubOrFunctionKeyword(objectUnderTest.SubOrFunctionKeyword).WithIdentifier(objectUnderTest.Identifier).WithTypeParameterList(objectUnderTest.TypeParameterList).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Help\VisualBasicHelpContextService.Visitor.vb (1)
156
result = Keyword(node.
DelegateKeyword
.Text)