3 references to GetRequiredParent
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (1)
141var initializedSymbol = semanticModel.GetDeclaredSymbol(valuePattern.GetRequiredParent(), cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTokenExtensions.cs (2)
40=> token1.GetRequiredParent().GetCommonRoot(token2.GetRequiredParent());