3 implementations of ITypeSymbol_FindImplementationForInterfaceMember
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeSymbol.cs (1)
110ISymbol ITypeSymbol.FindImplementationForInterfaceMember(ISymbol interfaceMember)
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
100public ISymbol FindImplementationForInterfaceMember(ISymbol interfaceMember)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
539Private Function ITypeSymbol_FindImplementationForInterfaceMember(interfaceMember As ISymbol) As ISymbol Implements ITypeSymbol.FindImplementationForInterfaceMember
44 references to ITypeSymbol_FindImplementationForInterfaceMember
ILLink.RoslynAnalyzer (1)
INamedTypeSymbolExtensions.cs (1)
47 if (implementationSymbol.FindImplementationForInterfaceMember (interfaceMember) is ISymbol implementationMember) {
Microsoft.Analyzers.Extra (3)
AsyncMethodWithoutCancellation.cs (1)
144.Select(interfaceSymbol => containingType.FindImplementationForInterfaceMember(interfaceSymbol))
CallAnalysis\CallAnalyzer.Handlers.cs (1)
66var impl = type.FindImplementationForInterfaceMember(h.Method);
Utilities\SymbolExtensions.cs (1)
69var impl = method.ContainingType.FindImplementationForInterfaceMember(member);
Microsoft.Analyzers.Local (1)
CallAnalysis\CallAnalyzer.Handlers.cs (1)
66var impl = type.FindImplementationForInterfaceMember(h.Method);
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
142var implementedMethod = method.ContainingType.FindImplementationForInterfaceMember(disposableDispose);
Microsoft.AspNetCore.Mvc.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
142var implementedMethod = method.ContainingType.FindImplementationForInterfaceMember(disposableDispose);
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadataFactory.cs (1)
274var implementedProperty = property.ContainingType.FindImplementationForInterfaceMember(statusCodeActionResultStatusProperty);
src\Shared\Roslyn\MvcFacts.cs (1)
142var implementedMethod = method.ContainingType.FindImplementationForInterfaceMember(disposableDispose);
Microsoft.CodeAnalysis.CodeStyle (10)
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
181typeMember = classOrStructType?.FindImplementationForInterfaceMember(member);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (5)
79=> classOrStructType.FindImplementationForInterfaceMember(member) != null; 124return accessor == null || !IsImplementable(accessor) || classOrStructType.FindImplementationForInterfaceMember(accessor) != null; 156var implementation = classOrStructType.FindImplementationForInterfaceMember(member); 256var implementation = classOrStructType.FindImplementationForInterfaceMember(m); 275var implementation = classOrStructType.FindImplementationForInterfaceMember(m);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
157var impl = symbol.ContainingType.FindImplementationForInterfaceMember(interfaceMember);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleRules.cs (1)
97if (symbol.Equals(containingType.FindImplementationForInterfaceMember(implementedInterfaceMember)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (2)
829var implementationMember = expressionType.FindImplementationForInterfaceMember(getEnumerator); 1007var implementationMember = newSymbolContainingType.FindImplementationForInterfaceMember(symbol);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
114var impl = type.FindImplementationForInterfaceMember(disposeMethodToLookFor);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1322var implementationMember = rewrittenContainingType.FindImplementationForInterfaceMember(originalMemberSymbol);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1104equals.Equals(equals.ContainingType.FindImplementationForInterfaceMember(equatableEquals)))
Microsoft.CodeAnalysis.CSharp.Features (2)
ImplementInterface\AbstractChangeImplementationCodeRefactoringProvider.cs (1)
195var impl = containingType.FindImplementationForInterfaceMember(interfaceMember);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1104equals.Equals(equals.ContainingType.FindImplementationForInterfaceMember(equatableEquals)))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
1054var isDispose = methodSymbol.Equals(type.FindImplementationForInterfaceMember(disposeMethod));
Symbols\TypeTests.cs (1)
1389MethodSymbol getGoo = (MethodSymbol)bar.FindImplementationForInterfaceMember(iGooGetGoo);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1322var implementationMember = rewrittenContainingType.FindImplementationForInterfaceMember(originalMemberSymbol);
Microsoft.CodeAnalysis.Features (6)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (2)
308if (collectionType.FindImplementationForInterfaceMember(countSymbol) is not IMethodSymbol countImpl || 309collectionType.FindImplementationForInterfaceMember(indexerSymbol) is not IMethodSymbol indexerImpl)
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
127return (IMethodSymbol?)containingType.FindImplementationForInterfaceMember(method);
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
101=> _symbol.FindImplementationForInterfaceMember(interfaceMember);
PullMemberUp\MembersPuller.cs (1)
520var implementationOfMember = selectedMember.ContainingType.FindImplementationForInterfaceMember(interfaceMember);
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
181typeMember = classOrStructType?.FindImplementationForInterfaceMember(member);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
539Private Function ITypeSymbol_FindImplementationForInterfaceMember(interfaceMember As ISymbol) As ISymbol Implements ITypeSymbol.FindImplementationForInterfaceMember
Microsoft.CodeAnalysis.Workspaces (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (5)
79=> classOrStructType.FindImplementationForInterfaceMember(member) != null; 124return accessor == null || !IsImplementable(accessor) || classOrStructType.FindImplementationForInterfaceMember(accessor) != null; 156var implementation = classOrStructType.FindImplementationForInterfaceMember(member); 256var implementation = classOrStructType.FindImplementationForInterfaceMember(m); 275var implementation = classOrStructType.FindImplementationForInterfaceMember(m);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
157var impl = symbol.ContainingType.FindImplementationForInterfaceMember(interfaceMember);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleRules.cs (1)
97if (symbol.Equals(containingType.FindImplementationForInterfaceMember(implementedInterfaceMember)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (2)
829var implementationMember = expressionType.FindImplementationForInterfaceMember(getEnumerator); 1007var implementationMember = newSymbolContainingType.FindImplementationForInterfaceMember(symbol);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
114var impl = type.FindImplementationForInterfaceMember(disposeMethodToLookFor);