19 references to EqualityUnit
Microsoft.CodeAnalysis.UnitTests (19)
Diagnostics\DiagnosticLocalizationTests.cs (1)
242var unit = EqualityUnit
FileLinePositionSpanTests.cs (4)
22EqualityUnit.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5))) 24EqualityUnit.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5))) 26EqualityUnit.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5))) 28EqualityUnit.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
LineMappingTests.cs (1)
40var leftUnit = EqualityUnit.Create(left);
LinePositionTests.cs (4)
22EqualityUnit.Create(new LinePosition(1, 2)).WithEqualValues(new LinePosition(1, 2)), 23EqualityUnit.Create(new LinePosition()).WithEqualValues(new LinePosition()), 24EqualityUnit.Create(new LinePosition(1, 2)).WithNotEqualValues(new LinePosition(1, 3)), 25EqualityUnit.Create(new LinePosition(1, 2)).WithNotEqualValues(new LinePosition(2, 2)));
PEWriter\UsedNamespaceOrTypeTests.cs (5)
51var unit = EqualityUnit 76var unit = EqualityUnit 94var unit = EqualityUnit 111var unit = EqualityUnit 135var unit = EqualityUnit
Text\TextChangeRangeTest.cs (4)
38EqualityUnit.Create(new TextChangeRange()).WithEqualValues(new TextChangeRange()), 39EqualityUnit.Create(new TextChangeRange(new TextSpan(42, 2), 13)).WithEqualValues(new TextChangeRange(new TextSpan(42, 2), 13)), 40EqualityUnit.Create(new TextChangeRange(new TextSpan(42, 2), 13)).WithNotEqualValues(new TextChangeRange(new TextSpan(42, 2), 5)), 41EqualityUnit.Create(new TextChangeRange(new TextSpan(42, 2), 13)).WithNotEqualValues(new TextChangeRange(new TextSpan(42, 4), 13)));