4 references to ToImmutableAndFree
Microsoft.CodeAnalysis (4)
SourceGeneration\CompilationCache.cs (3)
24/// <see cref="ToBuilder"/>, then calls <see cref="Builder.ToImmutableAndFree"/> to obtain 34/// every run replaces the seed via <see cref="Builder.ToImmutableAndFree"/> before reading. 59/// read after a <see cref="Builder.ToImmutableAndFree"/> call has produced this cache;
SourceGeneration\GeneratorDriver.cs (1)
415state = state.With(compilationCache: cacheBuilder.ToImmutableAndFree());