Show / Hide Table of Contents

Class SourceFragment

Contains information about the source code fragment

Inheritance
System.Object
FragmentBase
SourceFragment
Inherited Members
FragmentBase.SetAdditionalInfo(String, Object)
FragmentBase.GetAdditionalInfo(String)
FragmentBase.Text
FragmentBase.LineStart
FragmentBase.LineEnd
FragmentBase.ColStart
FragmentBase.ColEnd
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CilTools.SourceCode
Assembly: CilTools.BytecodeAnalysis.dll
Syntax
public class SourceFragment : FragmentBase

Constructors

SourceFragment()

Declaration
public SourceFragment()

Properties

CilEnd

Gets or sets the ending byte offset of CIL bytecode corresponding to this fragment

Declaration
public int CilEnd { get; set; }
Property Value
Type Description
System.Int32

CilStart

Gets or sets the starting byte offset of CIL bytecode corresponding to this fragment

Declaration
public int CilStart { get; set; }
Property Value
Type Description
System.Int32

Document

Gets the source document which this fragment belongs to

Declaration
public SourceDocument Document { get; }
Property Value
Type Description
SourceDocument

Method

Gets a method which source code is contained in this fragment

Declaration
public MethodBase Method { get; }
Property Value
Type Description
System.Reflection.MethodBase
Back to top CIL Tools (published from sources in GitHub repository).
Generated by DocFX