Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compile Method (DebugInfoGenerator)
Collapse the table of content
Expand the table of content

Expression<TDelegate>.Compile Method (DebugInfoGenerator)

Produces a delegate that represents the lambda expression.

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

public TDelegate 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: TDelegate
A delegate containing the compiled version of the lambda.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft