Implemented interface member:
29 references to Equals
Microsoft.CodeAnalysis (2)
MetadataReader\MetadataDecoder.cs (1)
2121return _containingAssemblyIdentity != null && _containingAssemblyIdentity.Equals(identity);
MetadataReference\AssemblyIdentity.cs (1)
402return Equals(obj as AssemblyIdentity);
Microsoft.CodeAnalysis.CSharp (2)
Symbols\AssemblySymbol.cs (1)
1042if (assemblyOpt != null && !assemblyOpt.Equals(assembly.Identity))
Symbols\MissingAssemblySymbol.cs (1)
113return identity.Equals(other.Identity);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\SymbolEquivalenceComparerTests.cs (1)
1780=> x.Identity.Equals(y.Identity);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
351identity.Equals(AssemblyIdentity.FromAssemblyDefinition(assemblyAndLocation.Assembly)))
Microsoft.CodeAnalysis.UnitTests (19)
MetadataReferences\AssemblyIdentityTests.cs (19)
37Assert.True(id1.Equals(id1)); 38Assert.True(id1.Equals(id2)); 39Assert.True(id2.Equals(id1)); 40Assert.True(id1.Equals(id11)); 41Assert.True(id11.Equals(id1)); 42Assert.True(id2.Equals(id22)); 43Assert.True(id22.Equals(id2)); 45Assert.False(id1.Equals(id3)); 46Assert.False(id1.Equals(id4)); 47Assert.False(id1.Equals(id5)); 48Assert.False(id1.Equals(id6)); 49Assert.False(id1.Equals(id7)); 53Assert.False(id2.Equals((AssemblyIdentity)null)); 57Assert.False(win1.Equals(win2)); 58Assert.False(win1.Equals(id1)); 59Assert.True(win1.Equals(win3)); 72Assert.True(neutral1.Equals(invariant)); 73Assert.True(neutral2.Equals(invariant)); 74Assert.True(neutral3.Equals(invariant));
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Metadata\PE\MetadataDecoder.vb (1)
181If identity.Equals(assemblies(i)) Then
Symbols\MissingAssemblySymbol.vb (1)
106Return other IsNot Nothing AndAlso (Me Is other OrElse m_Identity.Equals(other.m_Identity))
Microsoft.VisualStudio.LanguageServices (2)
Library\ObjectBrowser\AbstractListItemFactory.cs (1)
459=> x.Item2.Identity.Equals(y.Item2.Identity);
Library\VsNavInfo\NavInfoFactory.cs (1)
147var isCompilationAssembly = containingAssembly.Identity.Equals(compilation.Assembly.Identity);