JasonBock / Rocks

A mocking library based on the Compiler APIs (Roslyn + Mocks)
MIT License
248 stars 20 forks source link

Improve Code Generation Test Application #282

Closed JasonBock closed 10 months ago

JasonBock commented 11 months ago

Describe the solution you'd like

JasonBock commented 10 months ago

Probably a good reason to do this soon, as I just got this:

System.OutOfMemoryException: Insufficient memory to continue the execution of the program. at System.Reflection.Internal.StreamMemoryBlockProvider.ReadMemoryBlockNoLock(Stream stream, Int64 start, Int32 size) at System.Reflection.PortableExecutable.PEReader..ctor(Stream peStream, PEStreamOptions options, Int32 size) at Microsoft.CodeAnalysis.ModuleMetadata.CreateFromStream(Stream peStream, PEStreamOptions options) at System.Linq.Enumerable.ConcatIterator`1.MoveNext()