Implemented interface member:
method
Equals
Microsoft.Build.Collections.IConstrainedEqualityComparer<T>.Equals(T, T, System.Int32, System.Int32)
12 references to Equals
Microsoft.Build (4)
Evaluation\Expander.cs (1)
1558
MSBuildNameIgnoreCaseComparer.Default.
Equals
("MSBuild", propertyName, startIndex, 7);
Evaluation\PropertiesUseTracker.cs (2)
68
if (!MSBuildNameIgnoreCaseComparer.Default.
Equals
(CurrentlyEvaluatingPropertyElementName, propertyName, startIndex, endIndex - startIndex + 1))
81
MSBuildNameIgnoreCaseComparer.Default.
Equals
(CurrentlyEvaluatingPropertyElementName, propertyName,
MSBuildNameIgnoreCaseComparer.cs (1)
34
return
Equals
(x, y, 0, y?.Length ?? 0);
Microsoft.Build.Engine.UnitTests (8)
Collections\MSBuildNameIgnoreCaseComparer_Tests.cs (8)
85
MSBuildNameIgnoreCaseComparer.Default.
Equals
("x", "y", -1, 0);
96
MSBuildNameIgnoreCaseComparer.Default.
Equals
("x", "y", 0, -1);
107
MSBuildNameIgnoreCaseComparer.Default.
Equals
("x", "y", 0, 2);
116
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("bbb", "abbbaaa", 1, 3));
125
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("A", "babbbb", 1, 1));
134
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("b", "aabaa", 2, 1));
143
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("a", "ab", 0, 1));
152
Assert.True(MSBuildNameIgnoreCaseComparer.Default.
Equals
("aab", "aabaa", 0, 3));