4 references to WithReferences
Microsoft.CodeAnalysis (2)
MetadataReference\PortableExecutableReference.cs (2)
151
/// other than <see cref="Compilation.
WithReferences
(MetadataReference[])"/> overloads. A compilation created using
152
/// <see cref="Compilation.
WithReferences
(MetadataReference[])"/> will call to <see cref="GetMetadataNoCopy"/> again.
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
3252
compilation = compilation.
WithReferences
(metadataRefs);
Microsoft.CodeAnalysis.Features (1)
AddImport\AbstractAddImportFeatureService.cs (1)
425
return compilation.
WithReferences
(reference);