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)
1558MSBuildNameIgnoreCaseComparer.Default.Equals("MSBuild", propertyName, startIndex, 7);
Evaluation\PropertiesUseTracker.cs (2)
68if (!MSBuildNameIgnoreCaseComparer.Default.Equals(CurrentlyEvaluatingPropertyElementName, propertyName, startIndex, endIndex - startIndex + 1)) 81MSBuildNameIgnoreCaseComparer.Default.Equals(CurrentlyEvaluatingPropertyElementName, propertyName,
MSBuildNameIgnoreCaseComparer.cs (1)
34return Equals(x, y, 0, y?.Length ?? 0);
Microsoft.Build.Engine.UnitTests (8)
Collections\MSBuildNameIgnoreCaseComparer_Tests.cs (8)
85MSBuildNameIgnoreCaseComparer.Default.Equals("x", "y", -1, 0); 96MSBuildNameIgnoreCaseComparer.Default.Equals("x", "y", 0, -1); 107MSBuildNameIgnoreCaseComparer.Default.Equals("x", "y", 0, 2); 116Assert.True(MSBuildNameIgnoreCaseComparer.Default.Equals("bbb", "abbbaaa", 1, 3)); 125Assert.True(MSBuildNameIgnoreCaseComparer.Default.Equals("A", "babbbb", 1, 1)); 134Assert.True(MSBuildNameIgnoreCaseComparer.Default.Equals("b", "aabaa", 2, 1)); 143Assert.True(MSBuildNameIgnoreCaseComparer.Default.Equals("a", "ab", 0, 1)); 152Assert.True(MSBuildNameIgnoreCaseComparer.Default.Equals("aab", "aabaa", 0, 3));