4 references to IsParentKind
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
189anonymousFunction.Parent.Parent.Parent.IsParentKind(SyntaxKind.LocalDeclarationStatement, out localDeclaration))
SemanticModelExtensions.cs (2)
236type.Parent.Parent.Parent.IsParentKind(SyntaxKind.VariableDeclaration, out variableDeclaration) && 295if (type.IsParentKind(SyntaxKind.VariableDeclaration, out variableDeclaration) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1790if (ienumerableType != null && memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocation))