Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite AnalyzeFileReference.GetSupportedLanguages without LINQ (#49337)
I did an allocation profile of csc.dll for building a simple "hello world" with the configuration `dotnet build` employs on a simple `dotnet new console` app. There are ~194K allocations / ~19MB. And ~30K / ~1MB of those are occurring unnecessarily because of use of LINQ in one function. This just rewrites that function to not use LINQ.
- Loading branch information