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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft