21 references to Equals
Microsoft.Build.Tasks.Core (9)
AssemblyDependency\ReferenceTable.cs (1)
1047AssemblyNameExtension existingExtension = dependencies.Find(x => x.Equals(remappedExtension));
AssemblyDependency\Resolver.cs (1)
250bool matchedSpecificVersion = (wantSpecificVersion && assemblyName?.Equals(targetAssemblyName) == true);
AssemblyNameExtension.cs (1)
656return Equals(other);
AssemblyRemapping.cs (1)
61return From.Equals(other.From);
RedistList.cs (1)
758if (!mapping.Any(x => x.From.Equals(pair.From)))
ResolveComReference.cs (4)
1203if (fullAssemblyNameEx.Equals(wrapperAssemblyNameEx)) 1209else if (fullAssemblyNameEx.Equals(wrapperInfo.originalPiaName)) 1226if (fullAssemblyNameEx.Equals(wrapperAssemblyNameEx)) 1244if (fullAssemblyNameEx.Equals(wrapperAssemblyNameEx))
Microsoft.Build.Tasks.UnitTests (12)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (5)
788if (assemblyName.Equals(new AssemblyNameExtension("V, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"))) 792else if (assemblyName.Equals(new AssemblyNameExtension("W, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"))) 796else if (assemblyName.Equals(new AssemblyNameExtension("Z, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"))) 800else if (assemblyName.Equals(new AssemblyNameExtension("X, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"))) 804else if (assemblyName.Equals(new AssemblyNameExtension("Y, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null")))
AssemblyNameEx_Tests.cs (7)
165if (a1.Equals(a2)) 252bool result = a1.Equals(a2); 253bool resultBaseline = a3.Equals(a4); 669Assert.True(assemblies[0].Equals(x)); 670Assert.True(assemblies[1].Equals(z)); 671Assert.True(assemblies[2].Equals(y)); 719assemblyNameDeserialized.Equals(assemblyNameOriginal).ShouldBeTrue();