Marks a sequence point in the instruction stream.
[Visual Basic] Overridable Public Sub MarkSequencePoint( _ ByVal document As ISymbolDocumentWriter, _ ByVal startLine As Integer, _ ByVal startColumn As Integer, _ ByVal endLine As Integer, _ ByVal endColumn As Integer _ ) [C#] public virtual void MarkSequencePoint( ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn ); [C++] public: virtual void MarkSequencePoint( ISymbolDocumentWriter* document, int startLine, int startColumn, int endLine, int endColumn ); [JScript] public function MarkSequencePoint( document : ISymbolDocumentWriter, startLine : int, startColumn : int, endLine : int, endColumn : int );
Exception Type | Condition |
---|---|
ArgumentException | if startLine or endLine is <= 0 |
Line numbers are indexed from 1. Columns are indexed from 0.
The symbolic information normally includes at least one IL offset for each source line. When the JIT compiler is about to compile a method, it asks the Profiling Services for a list of IL offsets that should be preserved. These IL offsets are called sequence points.
ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace