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