5 references to With
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
SolutionCrawler\WorkCoordinatorTests.cs (3)
1326item = item.With(item.InvocationReasons, item.ActiveMember, specificAnalyzers: ImmutableHashSet.Create<IIncrementalAnalyzer>(analyzer2), item.IsRetry, item.AsyncToken); 1347item = item.With(item.InvocationReasons, item.ActiveMember, specificAnalyzers: ImmutableHashSet<IIncrementalAnalyzer>.Empty, item.IsRetry, item.AsyncToken); 1368item = item.With(item.InvocationReasons, item.ActiveMember, specificAnalyzers: ImmutableHashSet.Create<IIncrementalAnalyzer>(analyzer2), item.IsRetry, item.AsyncToken);
Microsoft.CodeAnalysis.Features (2)
SolutionCrawler\WorkCoordinator.AsyncDocumentWorkItemQueue.cs (1)
112documentMap[key] = existingWorkItem.With(item.InvocationReasons, item.ActiveMember, item.SpecificAnalyzers, item.IsRetry, item.AsyncToken);
SolutionCrawler\WorkCoordinator.AsyncProjectWorkItemQueue.cs (1)
80_projectWorkQueue[key] = existingWorkItem.With(item.InvocationReasons, item.ActiveMember, item.SpecificAnalyzers, item.IsRetry, item.AsyncToken);