LambdaExpression.CompileToMethod Metoda

Definicja

Kompiluje lambda do definicji metody.

Przeciążenia

CompileToMethod(MethodBuilder)

Kompiluje lambda do definicji metody.

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Kompiluje lambda do definicji metody i niestandardowych informacji debugowania.

CompileToMethod(MethodBuilder)

Kompiluje lambda do definicji 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 , który będzie używany do przechowywania il lambda.

Dotyczy

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Kompiluje lambda do definicji metody i niestandardowych informacji debugowania.

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 , który będzie używany do przechowywania il lambda.

debugInfoGenerator
DebugInfoGenerator

Generator informacji debugowania używany przez kompilator do oznaczania punktów sekwencji i dodawania adnotacji do zmiennych lokalnych.

Dotyczy