3 references to WithReferences
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
770return this.WithReferences((IEnumerable<MetadataReference>)newReferences);
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
574compilationWithoutGeneratedDocuments = compilationWithoutGeneratedDocuments.WithReferences(newReferences); 575staleCompilationWithGeneratedDocuments = staleCompilationWithGeneratedDocuments?.WithReferences(newReferences);