LambdaExpression.Compile Method (DebugInfoGenerator)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Produces a delegate that represents the lambda expression.

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

public Delegate Compile(
	DebugInfoGenerator debugInfoGenerator
)

Parameters

debugInfoGenerator
Type: System.Runtime.CompilerServices.DebugInfoGenerator

Debugging information generator used by the compiler to mark sequence points and annotate local variables.

Return Value

Type: System.Delegate

A delegate containing the compiled version of the lambda.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: