Base:
property
DeclarationKeyword
Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax.DeclarationKeyword
19 references to DeclarationKeyword
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\MethodBaseSyntax.vb (1)
54Return DeclarationKeyword
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
StatementSyntaxExtensions.vb (2)
371Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).DeclarationKeyword 374Return DirectCast(member, MethodStatementSyntax).DeclarationKeyword
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
AutomaticEndConstructCorrection\AutomaticEndConstructCorrector.vb (1)
281Function(context As MethodStatementSyntax) context.DeclarationKeyword,
Microsoft.CodeAnalysis.VisualBasic.Features (4)
Completion\CompletionProviders\ImplementsClauseCompletionProvider.vb (1)
72memberKindKeyword = methodDeclaration.DeclarationKeyword.Kind
Highlighting\KeywordHighlighters\MethodDeclarationHighlighter.vb (2)
36Dim firstKeyword = If(.Modifiers.Count > 0, .Modifiers.First(), .DeclarationKeyword) 37highlights.Add(TextSpan.FromBounds(firstKeyword.SpanStart, .DeclarationKeyword.Span.End))
Structure\VisualBasicStructureHelpers.vb (1)
151Return If(methodStatement.Modifiers.FirstOrNull(), methodStatement.DeclarationKeyword)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
TestSyntaxNodes.vb (1)
1159node.DeclarationKeyword,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (2)
16If func.DeclarationKeyword.Kind = SyntaxKind.FunctionKeyword Then 25Return func.Update(func.Kind, func.AttributeLists, func.Modifiers, func.DeclarationKeyword, func.Identifier,
CodeGeneration\VisualBasicSyntaxGenerator.vb (4)
2389SyntaxFactory.Token(ss.DeclarationKeyword.LeadingTrivia, SyntaxKind.FunctionKeyword, ss.DeclarationKeyword.TrailingTrivia), 2474SyntaxFactory.Token(ms.DeclarationKeyword.LeadingTrivia, SyntaxKind.SubKeyword, ms.DeclarationKeyword.TrailingTrivia),
StatementSyntaxExtensions.vb (2)
371Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).DeclarationKeyword 374Return DirectCast(member, MethodStatementSyntax).DeclarationKeyword
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Help\VisualBasicHelpContextService.Visitor.vb (2)
382Select Case node.DeclarationKeyword.Kind() 390result = Keyword(node.DeclarationKeyword.Text)