LambdaExpression.CompileToMethod Método

Definição

Compila o lambda em uma definição de método.Compiles the lambda into a method definition.

Sobrecargas

CompileToMethod(MethodBuilder)

Compila o lambda em uma definição de método.Compiles the lambda into a method definition.

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Compila o lambda em uma definição de método e as informações de depuração personalizada.Compiles the lambda into a method definition and custom debug information.

CompileToMethod(MethodBuilder)

Compila o lambda em uma definição de método.Compiles the lambda into a method definition.

public:
 void CompileToMethod(System::Reflection::Emit::MethodBuilder ^ method);
public void CompileToMethod (System.Reflection.Emit.MethodBuilder method);
member this.CompileToMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub CompileToMethod (method As MethodBuilder)

Parâmetros

method
MethodBuilder

Um MethodBuilder que será usado para manter a nível de integridade de lambda.A MethodBuilder which will be used to hold the lambda's IL.

Aplica-se a

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Compila o lambda em uma definição de método e as informações de depuração personalizada.Compiles the lambda into a method definition and custom debug information.

public:
 void CompileToMethod(System::Reflection::Emit::MethodBuilder ^ method, System::Runtime::CompilerServices::DebugInfoGenerator ^ debugInfoGenerator);
public void CompileToMethod (System.Reflection.Emit.MethodBuilder method, System.Runtime.CompilerServices.DebugInfoGenerator debugInfoGenerator);
member this.CompileToMethod : System.Reflection.Emit.MethodBuilder * System.Runtime.CompilerServices.DebugInfoGenerator -> unit
Public Sub CompileToMethod (method As MethodBuilder, debugInfoGenerator As DebugInfoGenerator)

Parâmetros

method
MethodBuilder

Um MethodBuilder que será usado para manter a nível de integridade de lambda.A MethodBuilder which will be used to hold the lambda's IL.

debugInfoGenerator
DebugInfoGenerator

O gerador de informações de depuração usado pelo compilador para marcar pontos de sequência e anotar as variáveis locais.Debugging information generator used by the compiler to mark sequence points and annotate local variables.

Aplica-se a