5 references to IsParentKind
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
189anonymousFunction.Parent.Parent.Parent.IsParentKind(SyntaxKind.LocalDeclarationStatement, out localDeclaration))
GenerateMember\GenerateParameterizedMember\CSharpGenerateMethodService.cs (1)
111if (simpleNameOrMemberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocationExpressionOpt))
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1790if (ienumerableType != null && memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocation))
SemanticModelExtensions.cs (2)
236type.Parent.Parent.Parent.IsParentKind(SyntaxKind.VariableDeclaration, out variableDeclaration) && 295if (type.IsParentKind(SyntaxKind.VariableDeclaration, out variableDeclaration) &&