10 references to WithNotEqualValues
Microsoft.CodeAnalysis.UnitTests (10)
Diagnostics\DiagnosticLocalizationTests.cs (1)
246
.
WithNotEqualValues
(
FileLinePositionSpanTests.cs (4)
23
.
WithNotEqualValues
(new FileLinePositionSpan("C:\\Goo.cs", new LinePosition(1, 2), new LinePosition(3, 5))),
25
.
WithNotEqualValues
(new FileLinePositionSpan("C:\\bar.cs", new LinePosition(1, 2), new LinePosition(3, 5))),
27
.
WithNotEqualValues
(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 4), new LinePosition(3, 5))),
29
.
WithNotEqualValues
(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(4, 5))));
LineMappingTests.cs (1)
41
return (leftIndex == rightIndex) ? leftUnit.WithEqualValues(right) : leftUnit.
WithNotEqualValues
(right);
LinePositionTests.cs (2)
24
EqualityUnit.Create(new LinePosition(1, 2)).
WithNotEqualValues
(new LinePosition(1, 3)),
25
EqualityUnit.Create(new LinePosition(1, 2)).
WithNotEqualValues
(new LinePosition(2, 2)));
Text\TextChangeRangeTest.cs (2)
40
EqualityUnit.Create(new TextChangeRange(new TextSpan(42, 2), 13)).
WithNotEqualValues
(new TextChangeRange(new TextSpan(42, 2), 5)),
41
EqualityUnit.Create(new TextChangeRange(new TextSpan(42, 2), 13)).
WithNotEqualValues
(new TextChangeRange(new TextSpan(42, 4), 13)));