C# Class System.Runtime.CompilerServices.DebugInfoGenerator

Generates debug information for lambdas in an expression tree.
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
CreatePdbGenerator ( ) : DebugInfoGenerator

Creates PDB symbol generator.

MarkSequencePoint ( LambdaExpression method, int ilOffset, DebugInfoExpression sequencePoint ) : void

Marks a sequence point.

Private Methods

Method Description
MarkSequencePoint ( LambdaExpression method, MethodBase methodBase, ILGenerator ilg, DebugInfoExpression sequencePoint ) : void
SetLocalName ( LocalBuilder localBuilder, string name ) : void

Method Details

CreatePdbGenerator() public static method

Creates PDB symbol generator.
public static CreatePdbGenerator ( ) : DebugInfoGenerator
return DebugInfoGenerator

MarkSequencePoint() public abstract method

Marks a sequence point.
public abstract MarkSequencePoint ( LambdaExpression method, int ilOffset, DebugInfoExpression sequencePoint ) : void
method System.Linq.Expressions.LambdaExpression The lambda being generated.
ilOffset int IL offset where to mark the sequence point.
sequencePoint System.Linq.Expressions.DebugInfoExpression Debug information corresponding to the sequence point.
return void