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