Open
Description
From here: dotnet/fsharp#5930 (comment)
The following code ends up reading all of FSharp.Core.dll and one of mscorlib.dll/system.runtime.dll/netstandard.dll into byte arrays upon type provider instantiation:
FSharp.TypeProviders.SDK/src/ProvidedTypes.fs
Lines 8572 to 8608 in 6d90bfc
This work is unnecessary because the F# compiler already knows this information. However, changing this would require work both in here and the compiler. Perhaps there's a cheaper way than allocating multiple MB on the LOH?