207 references to IsParentKind
Microsoft.CodeAnalysis.VisualBasic.Features (86)
AddImport\VisualBasicAddImportFeatureService.vb (1)
84
If memberAccess.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) Then
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
266
If matchingNode.IsKind(SyntaxKind.EventStatement) AndAlso matchingNode.
IsParentKind
(SyntaxKind.EventBlock) Then
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (2)
248
If Not node.
IsParentKind
(SyntaxKind.ImplementsClause) OrElse Not node.Parent.
IsParentKind
(SyntaxKind.EventStatement) Then
CodeFixes\GenerateType\GenerateTypeCodeFixProvider.vb (1)
56
Return Not simple.
IsParentKind
(SyntaxKind.QualifiedName)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.ReferenceRewriter.vb (2)
68
If node.
IsParentKind
(SyntaxKind.SimpleArgument) AndAlso
69
node.Parent.
IsParentKind
(SyntaxKind.TupleExpression) Then
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (2)
39
If Not modifiedIdentifier.
IsParentKind
(SyntaxKind.VariableDeclarator) OrElse
40
Not modifiedIdentifier.Parent.
IsParentKind
(SyntaxKind.LocalDeclarationStatement) Then
Completion\CompletionProviders\CrefCompletionProvider.vb (1)
139
If token.Parent.IsKind(SyntaxKind.XmlString) AndAlso token.Parent.
IsParentKind
(SyntaxKind.XmlAttribute) Then
Completion\CompletionProviders\XmlDocCommentCompletionProvider.vb (5)
143
token.Parent.
IsParentKind
(SyntaxKind.DocumentationCommentTrivia) Then
162
parentElement.
IsParentKind
(SyntaxKind.XmlElement) Then
244
If targetToken.IsChildToken(Function(n As XmlNameSyntax) n.LocalName) AndAlso targetToken.Parent.
IsParentKind
(SyntaxKind.XmlAttribute) Then
250
If (targetToken.IsChildToken(Function(s As XmlStringSyntax) s.EndQuoteToken) AndAlso targetToken.Parent.
IsParentKind
(SyntaxKind.XmlAttribute)) OrElse
257
If (targetToken.IsChildToken(Function(s As XmlStringSyntax) s.StartQuoteToken) AndAlso targetToken.Parent.
IsParentKind
(SyntaxKind.XmlAttribute)) OrElse
Completion\KeywordRecommenders\Expressions\BinaryOperatorKeywordRecommender.vb (1)
124
If token.Parent.
IsParentKind
(SyntaxKind.SimpleArgument) Then
Completion\KeywordRecommenders\Expressions\NewKeywordRecommender.vb (2)
34
If asClause.
IsParentKind
(SyntaxKind.VariableDeclarator) OrElse
35
(asClause.
IsParentKind
(SyntaxKind.PropertyStatement) AndAlso
Completion\KeywordRecommenders\Queries\GroupKeywordRecommender.vb (3)
36
If variableNameEquals.
IsParentKind
(SyntaxKind.AggregationRangeVariable) AndAlso
37
(variableNameEquals.Parent.
IsParentKind
(SyntaxKind.GroupByClause) OrElse
38
variableNameEquals.Parent.
IsParentKind
(SyntaxKind.GroupJoinClause)) Then
EditAndContinue\SyntaxComparer.vb (2)
846
If nodeOpt IsNot Nothing AndAlso nodeOpt.
IsParentKind
(SyntaxKind.AttributesStatement) Then
856
If nodeOpt IsNot Nothing AndAlso nodeOpt.Parent.
IsParentKind
(SyntaxKind.AttributesStatement) Then
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (6)
1967
Return If(node.
IsParentKind
(SyntaxKind.PropertyBlock),
2312
If node.Parent.
IsParentKind
(SyntaxKind.AttributesStatement) Then
2320
If node.
IsParentKind
(SyntaxKind.AttributesStatement) Then
2340
If oldNode.
IsParentKind
(SyntaxKind.AttributesStatement) Then
2348
If oldNode.Parent.
IsParentKind
(SyntaxKind.AttributesStatement) Then
2370
If newNode.Parent.
IsParentKind
(SyntaxKind.AttributesStatement) Then
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (3)
40
If expression.
IsParentKind
(SyntaxKind.EqualsValue) AndAlso
41
expression.Parent.
IsParentKind
(SyntaxKind.VariableDeclarator) Then
124
sourceNode.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) AndAlso
GenerateDefaultConstructors\VisualBasicGenerateDefaultConstructorsService.vb (2)
41
If type IsNot Nothing AndAlso type.
IsParentKind
(SyntaxKind.InheritsStatement) Then
46
baseList.
IsParentKind
(SyntaxKind.ClassBlock) Then
GenerateMember\GenerateEnumMember\VisualBasicGenerateEnumMemberService.vb (3)
37
If simpleNameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.InvocationExpression) Then
44
If Not simpleNameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.ObjectCreationExpression) AndAlso
45
Not simpleNameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.AddressOfExpression) Then
GenerateMember\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (4)
50
If qualifiedName.
IsParentKind
(SyntaxKind.ImplementsClause) Then
53
If implementsClause.
IsParentKind
(SyntaxKind.SubStatement) OrElse
54
implementsClause.
IsParentKind
(SyntaxKind.FunctionStatement) Then
115
If simpleNameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.InvocationExpression) Then
GenerateMember\GenerateVariable\VisualBasicGenerateVariableService.vb (4)
38
If qualifiedName.
IsParentKind
(SyntaxKind.ImplementsClause) Then
41
If implementsClause.
IsParentKind
(SyntaxKind.PropertyStatement) OrElse
42
implementsClause.
IsParentKind
(SyntaxKind.PropertyBlock) Then
45
Dim propertyNode = If(implementsClause.
IsParentKind
(SyntaxKind.PropertyStatement),
GenerateType\VisualBasicGenerateTypeService.vb (15)
48
Return expression.
IsParentKind
(SyntaxKind.ArrayCreationExpression)
57
expression.
IsParentKind
(SyntaxKind.ImplementsStatement) Then
62
expression.
IsParentKind
(SyntaxKind.TypeConstraint) AndAlso
63
expression.Parent.
IsParentKind
(SyntaxKind.TypeParameterMultipleConstraintClause) Then
100
If simpleName.
IsParentKind
(SyntaxKind.DictionaryAccessExpression) Then
234
nameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.SimpleAsClause) AndAlso
235
nameOrMemberAccessExpression.Parent.
IsParentKind
(SyntaxKind.Parameter) AndAlso
236
nameOrMemberAccessExpression.Parent.Parent.
IsParentKind
(SyntaxKind.ParameterList) AndAlso
237
(nameOrMemberAccessExpression.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.AddHandlerAccessorStatement) OrElse
238
nameOrMemberAccessExpression.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.RemoveHandlerAccessorStatement)) Then
252
If (nameOrMemberAccessExpression.IsKind(SyntaxKind.SimpleMemberAccessExpression) OrElse (nameOrMemberAccessExpression.Parent IsNot Nothing AndAlso nameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression))) _
258
Debug.Assert(nameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression))
319
If nameOrMemberAccessExpression.
IsParentKind
(SyntaxKind.SimpleAsClause) AndAlso
320
nameOrMemberAccessExpression.Parent.
IsParentKind
(SyntaxKind.VariableDeclarator) Then
390
Return expression.
IsParentKind
(SyntaxKind.SimpleAsClause)
GenerateVariable\VisualBasicGenerateVariableCodeFixProvider.vb (2)
50
If simple.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) Then
54
Return Not simple.
IsParentKind
(SyntaxKind.QualifiedName)
ImplementInterface\VisualBasicImplementInterfaceService.vb (2)
62
If implementsStatement.
IsParentKind
(SyntaxKind.ClassBlock) OrElse
63
implementsStatement.
IsParentKind
(SyntaxKind.StructureBlock) Then
IntroduceVariable\VisualBasicIntroduceVariableService.vb (5)
46
If attributeBlock.
IsParentKind
(SyntaxKind.CompilationUnit) Then
77
If Not expression.GetImplicitMemberAccessExpressions.All(Function(e) e.
IsParentKind
(SyntaxKind.WithStatement)) Then
81
If expression.
IsParentKind
(SyntaxKind.EqualsValue) AndAlso
82
expression.Parent.
IsParentKind
(SyntaxKind.VariableDeclarator) Then
118
Return expression.GetAncestorOrThis(Of EqualsValueSyntax)().
IsParentKind
(SyntaxKind.Parameter)
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (8)
56
If declaration.
IsParentKind
(SyntaxKind.FunctionBlock) OrElse declaration.
IsParentKind
(SyntaxKind.SubBlock) Then
86
If getAndSetMethods.GetMethodDeclaration.
IsParentKind
(SyntaxKind.FunctionBlock) Then
101
If getAndSetMethods.GetMethodDeclaration.
IsParentKind
(SyntaxKind.FunctionBlock) AndAlso
102
getAndSetMethods.SetMethodDeclaration.
IsParentKind
(SyntaxKind.SubBlock) Then
150
Dim root = If(parentExpression.
IsParentKind
(SyntaxKind.InvocationExpression), parentExpression.Parent, parentExpression)
179
If Not parentExpression.
IsParentKind
(SyntaxKind.InvocationExpression) OrElse
180
Not parentExpression.Parent.
IsParentKind
(SyntaxKind.ExpressionStatement) Then
ReplacePropertyWithMethods\VisualBasicReplacePropertyWithMethods.vb (1)
214
Return If(propertyDeclaration.
IsParentKind
(SyntaxKind.PropertyBlock),
SignatureHelp\MidAssignmentSignatureHelpProvider.vb (2)
29
token.Parent.
IsParentKind
(SyntaxKind.MidExpression) AndAlso
30
token.Parent.Parent.
IsParentKind
(SyntaxKind.MidAssignmentStatement)
UseNamedArguments\VisualBasicUseNamedArgumentsCodeRefactoringProvider.vb (1)
30
If argument.Parent.
IsParentKind
(SyntaxKind.Attribute) Then
VisualBasicAddAccessibilityModifiers.vb (4)
67
If member.
IsParentKind
(SyntaxKind.CompilationUnit) OrElse
68
member.
IsParentKind
(SyntaxKind.NamespaceBlock) Then
74
If member.
IsParentKind
(SyntaxKind.ClassBlock) OrElse
75
member.
IsParentKind
(SyntaxKind.ModuleBlock) Then
VisualBasicUseInferredMemberNameDiagnosticAnalyzer.vb (1)
40
If Not nameColonEquals.
IsParentKind
(SyntaxKind.SimpleArgument) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (116)
CastAnalyzer.vb (6)
138
If speculatedExpressionOuterType Is Nothing OrElse outerSpeculatedExpression.
IsParentKind
(SyntaxKind.SimpleArgument) Then
229
_castNode.WalkUpParentheses().
IsParentKind
(SyntaxKind.Interpolation) Then
259
If outerSpeculatedExpression.
IsParentKind
(SyntaxKind.DirectCastExpression) OrElse
260
outerSpeculatedExpression.
IsParentKind
(SyntaxKind.TryCastExpression) OrElse
261
outerSpeculatedExpression.
IsParentKind
(SyntaxKind.CTypeExpression) Then
266
If expressionToOuterType = Nothing AndAlso outerSpeculatedExpression.
IsParentKind
(SyntaxKind.SimpleArgument) Then
Classification\SyntaxClassification\NameSyntaxClassifier.vb (3)
64
Return node.
IsParentKind
(SyntaxKind.Attribute)
246
If modifiedIdentifier.
IsParentKind
(SyntaxKind.VariableDeclarator) AndAlso
247
modifiedIdentifier.Parent.
IsParentKind
(SyntaxKind.FieldDeclaration) Then
InvocationExpressionSyntaxExtensions.vb (3)
45
If invocationExpression.
IsParentKind
(SyntaxKind.CallStatement) OrElse invocationExpression.
IsParentKind
(SyntaxKind.ExpressionStatement) Then
59
If invocationExpression.
IsParentKind
(SyntaxKind.ConditionalAccessExpression) Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (29)
15
While expression.
IsParentKind
(SyntaxKind.ParenthesizedExpression)
38
(expression.
IsParentKind
(SyntaxKind.QualifiedName) AndAlso DirectCast(expression.Parent, QualifiedNameSyntax).Left Is expression) OrElse
39
(expression.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) AndAlso DirectCast(expression.Parent, MemberAccessExpressionSyntax).Expression Is expression)
58
Return expression.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) AndAlso
80
Return expression.
IsParentKind
(SyntaxKind.QualifiedName) AndAlso
86
Return expression.
IsParentKind
(SyntaxKind.QualifiedName) AndAlso
336
If expression.
IsParentKind
(SyntaxKind.SimpleAssignmentStatement) Then
343
If expression.
IsParentKind
(SyntaxKind.NameColonEquals) AndAlso
344
expression.Parent.
IsParentKind
(SyntaxKind.SimpleArgument) Then
526
If expression.
IsParentKind
(SyntaxKind.EqualsValue) OrElse
527
expression.
IsParentKind
(SyntaxKind.ParenthesizedExpression) OrElse
528
expression.
IsParentKind
(SyntaxKind.SelectStatement) OrElse
529
expression.
IsParentKind
(SyntaxKind.SyncLockStatement) OrElse
530
expression.
IsParentKind
(SyntaxKind.CollectionInitializer) OrElse
531
expression.
IsParentKind
(SyntaxKind.InferredFieldInitializer) OrElse
532
expression.
IsParentKind
(SyntaxKind.BinaryConditionalExpression) OrElse
533
expression.
IsParentKind
(SyntaxKind.TernaryConditionalExpression) OrElse
534
expression.
IsParentKind
(SyntaxKind.ReturnStatement) OrElse
535
expression.
IsParentKind
(SyntaxKind.YieldStatement) OrElse
536
expression.
IsParentKind
(SyntaxKind.XmlEmbeddedExpression) OrElse
537
expression.
IsParentKind
(SyntaxKind.ThrowStatement) OrElse
538
expression.
IsParentKind
(SyntaxKind.IfStatement) OrElse
539
expression.
IsParentKind
(SyntaxKind.WhileStatement) OrElse
540
expression.
IsParentKind
(SyntaxKind.ElseIfStatement) OrElse
541
expression.
IsParentKind
(SyntaxKind.ForEachStatement) OrElse
542
expression.
IsParentKind
(SyntaxKind.ForStatement) OrElse
543
expression.
IsParentKind
(SyntaxKind.ConditionalAccessExpression) OrElse
544
expression.
IsParentKind
(SyntaxKind.TypeOfIsExpression) OrElse
545
expression.
IsParentKind
(SyntaxKind.TypeOfIsNotExpression) Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\MemberAccessExpressionSyntaxExtensions.vb\MemberAccessExpressionSyntaxExtensions.vb (1)
59
Return statement.
IsParentKind
(SyntaxKind.ConstructorBlock) AndAlso
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (3)
136
If targetType.ContainsAnonymousType() OrElse expression.
IsParentKind
(SyntaxKind.AsNewClause) Then
197
If Not statement.
IsParentKind
(SyntaxKind.ConstructorBlock) Then
273
Return expression.
IsParentKind
(SyntaxKind.NameOfExpression)
ParameterSyntaxExtensions.vb (1)
15
parameter.
IsParentKind
(SyntaxKind.ParameterList) AndAlso
ParenthesizedExpressionSyntaxExtensions.vb (7)
138
If node.
IsParentKind
(SyntaxKind.Interpolation) Then
151
If Not node.
IsParentKind
(SyntaxKind.CollectionInitializer) Then
158
If node.Parent.
IsParentKind
(SyntaxKind.ObjectCollectionInitializer) AndAlso
166
If node.Parent.
IsParentKind
(SyntaxKind.CollectionInitializer) AndAlso
167
node.Parent.Parent.
IsParentKind
(SyntaxKind.ObjectCollectionInitializer) AndAlso
211
If node.
IsParentKind
(SyntaxKind.EqualsValue) AndAlso
300
If node.
IsParentKind
(SyntaxKind.InvocationExpression) Then
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
213
Dim inNameOfExpression = node.
IsParentKind
(SyntaxKind.NameOfExpression)
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
253
If node.
IsParentKind
(SyntaxKind.MultiLineSubLambdaExpression) OrElse
254
node.
IsParentKind
(SyntaxKind.MultiLineFunctionLambdaExpression) Then
SemanticModelExtensions.vb (25)
115
If type.
IsParentKind
(SyntaxKind.InheritsStatement) Then
122
If type.
IsParentKind
(SyntaxKind.SimpleAsClause) AndAlso
123
type.Parent.
IsParentKind
(SyntaxKind.VariableDeclarator) Then
124
If type.Parent.Parent.
IsParentKind
(SyntaxKind.FieldDeclaration) OrElse
125
type.Parent.Parent.
IsParentKind
(SyntaxKind.EventStatement) Then
136
If type.
IsParentKind
(SyntaxKind.ObjectCreationExpression) AndAlso
137
type.Parent.
IsParentKind
(SyntaxKind.AsNewClause) AndAlso
138
type.Parent.Parent.
IsParentKind
(SyntaxKind.VariableDeclarator) Then
139
If type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.FieldDeclaration) OrElse
140
type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.EventStatement) Then
149
If type.
IsParentKind
(SyntaxKind.SimpleAsClause) Then
150
If type.Parent.
IsParentKind
(SyntaxKind.DelegateFunctionStatement) OrElse
151
type.Parent.
IsParentKind
(SyntaxKind.FunctionStatement) OrElse
152
type.Parent.
IsParentKind
(SyntaxKind.PropertyStatement) OrElse
153
type.Parent.
IsParentKind
(SyntaxKind.EventStatement) OrElse
154
type.Parent.
IsParentKind
(SyntaxKind.OperatorStatement) Then
160
If type.
IsParentKind
(SyntaxKind.SimpleAsClause) AndAlso
161
type.Parent.
IsParentKind
(SyntaxKind.Parameter) AndAlso
162
type.Parent.Parent.
IsParentKind
(SyntaxKind.ParameterList) Then
163
If type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.DelegateFunctionStatement) OrElse
164
type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.FunctionStatement) OrElse
165
type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.PropertyStatement) OrElse
166
type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.OperatorStatement) OrElse
167
type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.SubNewStatement) OrElse
168
type.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.SubStatement) Then
SimpleNameSyntaxExtensions.vb (1)
36
If simpleName.
IsParentKind
(SyntaxKind.InvocationExpression) Then
Simplification\Reducers\VisualBasicInferredMemberNameReducer.Rewriter.vb (1)
51
If node.
IsParentKind
(SyntaxKind.TupleExpression) Then
Simplification\Simplifiers\ExpressionSimplifier.vb (1)
277
If memberAccess.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) Then
Simplification\Simplifiers\NameSimplifier.vb (8)
320
Return expression.
IsParentKind
(SyntaxKind.SimpleMemberAccessExpression) AndAlso
325
If name.
IsParentKind
(SyntaxKind.QualifiedName) Then
437
If (name.
IsParentKind
(SyntaxKind.CrefReference)) OrElse ' cref="Nullable(Of T)"
438
(name.
IsParentKind
(SyntaxKind.QualifiedName) AndAlso name.Parent?.
IsParentKind
(SyntaxKind.CrefReference)) OrElse ' cref="System.Nullable(Of T)"
439
(name.
IsParentKind
(SyntaxKind.QualifiedName) AndAlso If(name.Parent?.
IsParentKind
(SyntaxKind.QualifiedName), False) AndAlso name.Parent.Parent?.
IsParentKind
(SyntaxKind.CrefReference)) Then ' cref="System.Nullable(Of T).Value"
Simplification\VisualBasicSimplificationService.Expander.vb (1)
194
If node.
IsParentKind
(SyntaxKind.ReDimKeyword) Then
StatementSyntaxExtensions.vb (1)
744
If statement.
IsParentKind
(SyntaxKind.ConstructorBlock) AndAlso
SyntaxNodeExtensions.vb (1)
816
Return node.
IsParentKind
(SyntaxKind.SimpleAssignmentStatement) AndAlso
VariableDeclaratorSyntaxExtensions.vb (1)
53
If variableDeclarator.
IsParentKind
(SyntaxKind.FieldDeclaration) AndAlso
VisualBasicInferredMemberNameSimplifier.vb (2)
12
If node.NameColonEquals Is Nothing OrElse Not node.
IsParentKind
(SyntaxKind.TupleExpression) Then
38
Dim requiresExplicitNames = parentMemberInitializer.
IsParentKind
(SyntaxKind.ObjectCreationExpression)
VisualBasicSyntaxFacts.vb (7)
163
Return node.
IsParentKind
(SyntaxKind.Attribute) AndAlso
203
Return node.
IsParentKind
(SyntaxKind.SimpleImportsClause) AndAlso
632
Return identifierName.
IsParentKind
(SyntaxKind.NameColonEquals) AndAlso
633
identifierName.Parent.
IsParentKind
(SyntaxKind.SimpleArgument) AndAlso
634
identifierName.Parent.Parent.
IsParentKind
(SyntaxKind.ArgumentList) AndAlso
635
identifierName.Parent.Parent.Parent.
IsParentKind
(SyntaxKind.Attribute)
653
If node.Kind = SyntaxKind.VariableDeclarator AndAlso node.
IsParentKind
(SyntaxKind.FieldDeclaration) Then
VisualBasicTypeInferenceService.TypeInferrer.vb (11)
234
If argumentList.
IsParentKind
(SyntaxKind.ArrayCreationExpression) Then
236
ElseIf argumentList.
IsParentKind
(SyntaxKind.InvocationExpression) Then
286
ElseIf argumentList.
IsParentKind
(SyntaxKind.ObjectCreationExpression) Then
314
ElseIf argumentList.
IsParentKind
(SyntaxKind.Attribute) Then
437
If asClause.
IsParentKind
(SyntaxKind.CatchStatement) Then
602
If equalsValue.
IsParentKind
(SyntaxKind.VariableDeclarator) Then
604
If variableDeclarator.AsClause Is Nothing AndAlso variableDeclarator.
IsParentKind
(SyntaxKind.UsingStatement) Then
626
ElseIf equalsValue.
IsParentKind
(SyntaxKind.PropertyStatement) Then
912
memberAccessExpression.
IsParentKind
(SyntaxKind.InvocationExpression) AndAlso
913
memberAccessExpression.Parent.
IsParentKind
(SyntaxKind.AwaitExpression) Then
932
If ienumerableType IsNot Nothing AndAlso memberAccessExpression.
IsParentKind
(SyntaxKind.InvocationExpression) Then
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (4)
765
startPosition = If(propertyStatement.
IsParentKind
(SyntaxKind.PropertyBlock),
774
startPosition = If(propertyStatement.
IsParentKind
(SyntaxKind.PropertyBlock),
888
startPosition = If(eventStatement.
IsParentKind
(SyntaxKind.EventBlock),
896
startPosition = If(eventStatement.
IsParentKind
(SyntaxKind.EventBlock),
CodeModel\VisualBasicCodeModelService.vb (1)
2684
If modifiers.Any(SyntaxKind.MustOverrideKeyword) Or member.
IsParentKind
(SyntaxKind.InterfaceBlock) Then