Share via


LambdaExpression.CompileToMethod Metoda

Definice

Zkompiluje lambda do definice metody.

Přetížení

CompileToMethod(MethodBuilder)

Zkompiluje lambda do definice metody.

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Zkompiluje lambda do definice metody a vlastní informace o ladění.

CompileToMethod(MethodBuilder)

Zkompiluje lambda do definice metody.

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)

Parametry

method
MethodBuilder

A MethodBuilder , který se použije k uložení lambdy IL.

Platí pro

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Zkompiluje lambda do definice metody a vlastní informace o ladění.

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)

Parametry

method
MethodBuilder

A MethodBuilder , který se použije k uložení lambdy IL.

debugInfoGenerator
DebugInfoGenerator

Ladění generátoru informací používaného kompilátorem k označení sekvenčních bodů a přidávání poznámek k místním proměnným.

Platí pro