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