13 references to SubOrFunctionKeyword
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Main.Generated.vb (2)
4257Dim newSubOrFunctionKeyword = DirectCast(VisitToken(node.SubOrFunctionKeyword).Node, InternalSyntax.KeywordSyntax) 4258If node.SubOrFunctionKeyword.Node IsNot newSubOrFunctionKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (5)
26260return Update(Me.Kind, attributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.ParameterList, Me.AsClause) 26304return Update(Me.Kind, Me.AttributeLists, modifiers, Me.SubOrFunctionKeyword, Me.ParameterList, Me.AsClause) 26360return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, parameterList, Me.AsClause) 26391return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.ParameterList, asClause) 26452If kind <> Me.Kind OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause Then
Syntax\MethodBaseSyntax.vb (1)
125Return SubOrFunctionKeyword
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\AwaitCompletionProvider.vb (1)
44Return DirectCast(declaration, LambdaExpressionSyntax).SubOrFunctionHeader.SubOrFunctionKeyword.SpanStart
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (4)
21009Assert.NotNull(objectUnderTest.subOrFunctionKeyword) 21010Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithSubOrFunctionKeyword(objectUnderTest.SubOrFunctionKeyword).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause) 21017Assert.NotNull(objectUnderTest.subOrFunctionKeyword) 21018Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithSubOrFunctionKeyword(objectUnderTest.SubOrFunctionKeyword).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause)