Implemented interface member:
13 references to Equals
Microsoft.CodeAnalysis.Workspaces (13)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
592
return symbol1 != null && SymbolEquivalenceComparer.Instance.
Equals
(
FindSymbols\FindReferences\Finders\AbstractTypeParameterSymbolReferenceFinder.cs (1)
64
if (SymbolEquivalenceComparer.Instance.
Equals
(symbol, boundSymbol))
FindSymbols\FindReferences\MetadataUnifyingEquivalenceComparer.cs (1)
35
return SymbolEquivalenceComparer.Instance.
Equals
(x, y);
FindSymbols\SymbolFinder_Callers.cs (1)
47
r => SymbolEquivalenceComparer.Instance.
Equals
(symbol, r.Definition)).FirstOrDefault();
FindSymbols\SymbolFinder_Helpers.cs (1)
134
Contract.ThrowIfFalse(equivalentTypesWithDifferingAssemblies.All(kvp => !SymbolEquivalenceComparer.Instance.
Equals
(kvp.Key.ContainingAssembly, kvp.Value.ContainingAssembly)));
FindSymbols\SymbolFinder_Hierarchy.cs (1)
176
SymbolEquivalenceComparer.Instance.
Equals
(implementation.OriginalDefinition, symbol.OriginalDefinition))
Shared\Extensions\IFindReferencesResultExtensions.cs (1)
106
let aliasLocations = r.Locations.Where(loc => SymbolEquivalenceComparer.Instance.
Equals
(loc.Alias, aliasSymbol)).ToImmutableArray()
Shared\Extensions\ITypeSymbolExtensions.cs (1)
146
where SymbolEquivalenceComparer.Instance.
Equals
(explicitInterfaceMethod, constructedInterfaceMember)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticEquivalence.cs (1)
137
: SymbolEquivalenceComparer.Instance.
Equals
(info1.Symbol, info2.Symbol);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
72
SymbolEquivalenceComparer.Instance.
Equals
(aliasSymbol.Target, target))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (3)
400
if (s_includeNullabilityComparer.
Equals
(symbol, newSymbol))
438
if (s_arrayAndReadOnlySpanCompareEqually.
Equals
(methodSymbol, newMethodSymbol))
487
return SymbolEquivalenceComparer.Instance.
Equals
(symbol, newSymbol);