You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foreach(var project in documents.Select(x => x.Project))
which does not take into account duplicated projects (e.g. documents belonging to the same project). I have confirmed this is the issue after I saw that the newest version of the helpers provided by Microsoft now use a HashSet<> prior to iterating. We can do the same or just add a Distinct() call after our Select().
The text was updated successfully, but these errors were encountered:
Title says it all.
I have it figured out and the culprit is
RoslynTester/RoslynTester/RoslynTester/Helpers/DiagnosticVerifier.cs
Line 325 in 6255f5c
HashSet<>
prior to iterating. We can do the same or just add aDistinct()
call after ourSelect()
.The text was updated successfully, but these errors were encountered: