12 references to GetAllInterfacesIncludingThis
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
198
.
GetAllInterfacesIncludingThis
()
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
280
.
GetAllInterfacesIncludingThis
()
Microsoft.CodeAnalysis.Features (8)
Completion\Providers\ImportCompletionProvider\ExtensionMemberImportCompletionHelper.SymbolComputer.cs (1)
599
builder.AddRange(receiverTypeSymbol.
GetAllInterfacesIncludingThis
().Select(t => t.MetadataName));
Completion\Providers\ImportCompletionProvider\ExtensionMemberImportCompletionHelper.SymbolComputer_Constraints.cs (1)
31
=> CheckConstraints(receiverTypeSymbol, typeParameter, TypeKind.Interface, static type => type.
GetAllInterfacesIncludingThis
());
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
351
foreach (var current in interfaceType.
GetAllInterfacesIncludingThis
())
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (4)
269
var instantiatedIEnumerableType = collectionType.
GetAllInterfacesIncludingThis
().FirstOrDefault(
298
var instantiatedIEnumeratorType = getEnumeratorReturnType.
GetAllInterfacesIncludingThis
().FirstOrDefault(
519
var interfaces = collectionType.
GetAllInterfacesIncludingThis
();
526
foreach (var interfaceType in collectionType.
GetAllInterfacesIncludingThis
())
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceService.cs (1)
307
t => t.
GetAllInterfacesIncludingThis
().Contains(firstInterfaceType),
Microsoft.CodeAnalysis.Workspaces (2)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
472
foreach (var constraintTypeInterface in constraintType.
GetAllInterfacesIncludingThis
())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
399
interfaces.SelectMany(i => i.
GetAllInterfacesIncludingThis
()).Distinct());