12 references to ConflictResolution
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (12)
Rename\RenameEngineResult.vb (4)
226
Dim documentId =
ConflictResolution
.OldSolution.GetDocumentId(location.SourceTree)
227
Dim newLocation =
ConflictResolution
.GetResolutionTextSpan(location.SourceSpan, documentId)
229
Dim newTree =
ConflictResolution
.NewSolution.GetDocument(documentId).GetSyntaxTreeAsync().Result
249
Dim documentId =
ConflictResolution
.OldSolution.GetDocumentId(location.SourceTree)
Rename\RenameEngineTests.vb (8)
348
Dim originalDocument = result.
ConflictResolution
.OldSolution.Projects.First().Documents.Where(Function(d) d.FilePath = "Test2.cs").Single()
349
Dim newDocument = result.
ConflictResolution
.NewSolution.Projects.First().Documents.Where(Function(d) d.FilePath = "Test2.cs").Single()
351
Assert.Equal(1, result.
ConflictResolution
.NewSolution.GetChangedDocuments(result.
ConflictResolution
.OldSolution).Count)
6240
Assert.Equal(1, result.
ConflictResolution
.RelatedLocations.Count)
6288
Assert.Equal(1, result.
ConflictResolution
.RelatedLocations.Count)
6637
Assert.Equal(1, result.
ConflictResolution
.RelatedLocations.Count)
6703
Assert.Equal(1, result.
ConflictResolution
.RelatedLocations.Count)