Implemented interface member:
30 references to Equals
Microsoft.Build (18)
BuildCheck\Checks\SharedOutputPathCheck.cs (2)
57
!MSBuildNameIgnoreCaseComparer.Default.
Equals
(objPath, binPath)
58
&& !MSBuildNameIgnoreCaseComparer.Default.
Equals
(objPath, absoluteBinPath)
BuildCheck\OM\ParsedItemsCheckData.cs (1)
23
MSBuildNameIgnoreCaseComparer.Default.
Equals
(i.ItemType, itemType));
Construction\ProjectItemGroupElement.cs (1)
112
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(itemType, item.ItemType))
Construction\ProjectRootElement.cs (3)
1004
if (itemGroup.Items.Any(item => MSBuildNameIgnoreCaseComparer.Default.
Equals
(itemType, item.ItemType)))
1077
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(itemType, itemDefinition.ItemType))
1186
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(property.Name, name))
Definition\Project.cs (2)
3067
if (group.Count == 0 || MSBuildNameIgnoreCaseComparer.Default.
Equals
(itemType, group.Items.First().ItemType))
3879
if (!MSBuildNameIgnoreCaseComparer.Default.
Equals
(itemType, existingItemXml.ItemType))
Definition\ProjectItem.cs (1)
764
if (itemType == null || MSBuildNameIgnoreCaseComparer.Default.
Equals
(ItemType, itemType))
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (1)
306
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(property.Name, "MSBuildAllProjects"))
Graph\ProjectGraph.cs (1)
662
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(targetName, baseProjectName))
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
146
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(cachedItem.Key, item.Key))
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
207
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(cachedItem.EvaluatedIncludeEscaped, item.EvaluatedIncludeEscaped))
Instance\ImmutableProjectCollections\ImmutableStringValuedListConverter.cs (1)
78
if (MSBuildNameIgnoreCaseComparer.Default.
Equals
(stringValue, item))
Instance\ProjectItemInstance.cs (2)
1618
if (!MSBuildNameIgnoreCaseComparer.Default.
Equals
(thisAsITaskItem2.EvaluatedIncludeEscaped, otherAsITaskItem2.EvaluatedIncludeEscaped))
2288
if ((requiredItemType == null) || MSBuildNameIgnoreCaseComparer.Default.
Equals
(_itemType, requiredItemType))
Utilities\Utilities.cs (1)
812
if (itemValue != null && (itemTypeNameToFetch == null || MSBuildNameIgnoreCaseComparer.Default.
Equals
(itemType, itemTypeNameToFetch)))
Microsoft.Build.Engine.UnitTests (12)
Collections\MSBuildNameIgnoreCaseComparer_Tests.cs (12)
26
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("FOO", "foo"));
27
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("FOO", " FOO"));
28
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("FOOA", "FOOB"));
29
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("AFOO", "BFOO"));
30
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("FOO", "FOO "));
31
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("a", "b"));
32
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("", ""));
33
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("x", null));
34
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
(null, "x"));
35
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
((string)null, (string)null));
65
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
("x", null));
74
Assert.False(MSBuildNameIgnoreCaseComparer.Default.
Equals
(null, "x"));