14 references to Create
Microsoft.CodeAnalysis.UnitTests (14)
Diagnostics\DiagnosticLocalizationTests.cs (1)
243
.
Create
(new LocalizableResourceString(@"ResourceWithArguments", resourceManager, typeof(CustomResourceManager), "arg"))
FileLinePositionSpanTests.cs (4)
22
EqualityUnit.
Create
(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
24
EqualityUnit.
Create
(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
26
EqualityUnit.
Create
(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
28
EqualityUnit.
Create
(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
LineMappingTests.cs (1)
40
var leftUnit = EqualityUnit.
Create
(left);
LinePositionTests.cs (4)
22
EqualityUnit.
Create
(new LinePosition(1, 2)).WithEqualValues(new LinePosition(1, 2)),
23
EqualityUnit.
Create
(new LinePosition()).WithEqualValues(new LinePosition()),
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 (4)
38
EqualityUnit.
Create
(new TextChangeRange()).WithEqualValues(new TextChangeRange()),
39
EqualityUnit.
Create
(new TextChangeRange(new TextSpan(42, 2), 13)).WithEqualValues(new TextChangeRange(new TextSpan(42, 2), 13)),
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)));