3 references to WithReferences
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpCompilation.cs (2)
649
return this.
WithReferences
((IEnumerable<MetadataReference>)references);
3902
return
WithReferences
(newReferences);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\ForeachTest.cs (1)
798
comp = comp.
WithReferences
(comp.References.Concat(new[] { SystemRuntimeFacadeRef, ValueTupleRef }));