23 references to DeclareKeyword
Microsoft.CodeAnalysis.VisualBasic (14)
Generated\Syntax.xml.Main.Generated.vb (2)
2171
Dim newDeclareKeyword = DirectCast(VisitToken(node.
DeclareKeyword
).Node, InternalSyntax.KeywordSyntax)
2172
If node.
DeclareKeyword
.Node IsNot newDeclareKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (12)
7267
return Update(Me.Kind, attributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7311
return Update(Me.Kind, Me.AttributeLists, modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7363
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, charsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7381
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, subOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7399
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7417
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, libKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7435
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, libraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7460
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, aliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7481
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, aliasName, Me.ParameterList, Me.AsClause)
7511
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, parameterList, Me.AsClause)
7542
return Update(Me.Kind, Me.AttributeLists, Me.Modifiers, Me.
DeclareKeyword
, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, asClause)
7632
If kind <> Me.Kind OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse declareKeyword <> Me.
DeclareKeyword
OrElse charsetKeyword <> Me.CharsetKeyword OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse identifier <> Me.Identifier OrElse libKeyword <> Me.LibKeyword OrElse libraryName IsNot Me.LibraryName OrElse aliasKeyword <> Me.AliasKeyword OrElse aliasName IsNot Me.AliasName OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause Then
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Declarations\CharsetModifierKeywordRecommender.vb (1)
30
Return If(targetToken.IsChildToken(Of DeclareStatementSyntax)(Function(externalMethodDeclaration) externalMethodDeclaration.
DeclareKeyword
),
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1775
startToken = DirectCast(header, DeclareStatementSyntax).
DeclareKeyword
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (4)
19070
Assert.NotNull(objectUnderTest.
declareKeyword
)
19075
Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithDeclareKeyword(objectUnderTest.
DeclareKeyword
).WithCharsetKeyword(objectUnderTest.CharsetKeyword).WithSubOrFunctionKeyword(objectUnderTest.SubOrFunctionKeyword).WithIdentifier(objectUnderTest.Identifier).WithLibKeyword(objectUnderTest.LibKeyword).WithLibraryName(objectUnderTest.LibraryName).WithAliasKeyword(objectUnderTest.AliasKeyword).WithAliasName(objectUnderTest.AliasName).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause)
19082
Assert.NotNull(objectUnderTest.
declareKeyword
)
19087
Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithDeclareKeyword(objectUnderTest.
DeclareKeyword
).WithCharsetKeyword(objectUnderTest.CharsetKeyword).WithSubOrFunctionKeyword(objectUnderTest.SubOrFunctionKeyword).WithIdentifier(objectUnderTest.Identifier).WithLibKeyword(objectUnderTest.LibKeyword).WithLibraryName(objectUnderTest.LibraryName).WithAliasKeyword(objectUnderTest.AliasKeyword).WithAliasName(objectUnderTest.AliasName).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause)
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
CodeModel\VisualBasicCodeModelService.vb (2)
3152
declareKeyword:=declareStatement.
DeclareKeyword
,
3169
declareKeyword:=declareStatement.
DeclareKeyword
,
Help\VisualBasicHelpContextService.Visitor.vb (1)
151
result = Keyword(node.
DeclareKeyword
.Text)