What dll contains extension methods for generalizations?

I am trying to dynamically compile the source code using the CodeDom.Compiler material, which means that I need to reference the main assemblies manually. The source code that I am compiling should have access to basic list expansion methods, such as Max (), Min () or Sum (), and possibly lambda expressions.

When I compile the source code, it says that I am missing the necessary assembly ... I am currently including System.dll and System.Core.dll.

What dll do I need to get extension methods for generics?

+3
source share
2 answers

. CSharpCodeProvider

+8

- Assembly.GetReferencedAssemblies() . , Visual Studio, , , .

0

Source: https://habr.com/ru/post/1723520/


All Articles