6 references to TypeDiscoveryRule
Microsoft.CodeAnalysis.CSharp.Features (2)
ExtractInterface\CSharpExtractInterfaceService.cs (2)
32protected override async Task<SyntaxNode> GetTypeDeclarationAsync(Document document, int position, TypeDiscoveryRule typeDiscoveryRule, CancellationToken cancellationToken) 40if (typeDeclarationNode == null && typeDiscoveryRule == TypeDiscoveryRule.TypeDeclaration)
Microsoft.CodeAnalysis.Features (4)
ExtractInterface\AbstractExtractInterfaceService.cs (4)
32TypeDiscoveryRule typeDiscoveryRule, 50var typeAnalysisResult = await AnalyzeTypeAtPositionAsync(document, span.Start, TypeDiscoveryRule.TypeNameOnly, cancellationToken).ConfigureAwait(false); 66TypeDiscoveryRule.TypeDeclaration, 81TypeDiscoveryRule typeDiscoveryRule,