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