Class SourceFragment
Contains information about the source code fragment
Inherited Members
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 |