7 references to ToImmutableAndFree
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorContexts.cs (1)
112
=> (_additionalSources.
ToImmutableAndFree
(), _diagnostics.ToReadOnlyAndFree());
SourceGeneration\IncrementalContexts.cs (1)
280
=> (Sources.
ToImmutableAndFree
(), Diagnostics.ToReadOnlyAndFree(), GeneratorRunStateBuilder.ToImmutableAndFree(), HostOutputBuilder.ToImmutable());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
SourceGeneration\AdditionalSourcesCollectionTests.cs (5)
57
var sources = asc.
ToImmutableAndFree
();
73
var sources = asc.
ToImmutableAndFree
();
126
var sources = asc.
ToImmutableAndFree
();
147
sources = asc.
ToImmutableAndFree
();
214
var sources = asc.
ToImmutableAndFree
();