System.Linq.Expressions.LambdaExpression.CompileToMethod Method

Compiles the lambda into a method definition and custom debug information.

Syntax

public void CompileToMethod (System.Reflection.Emit.MethodBuilder method, System.Runtime.CompilerServices.DebugInfoGenerator debugInfoGenerator)

Parameters

method
A System.Reflection.Emit.MethodBuilder which will be used to hold the lambda's IL.
debugInfoGenerator
Debugging information generator used by the compiler to mark sequence points and annotate local variables.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0