Class SourceCodeProvider
Represents an object that loads source code
Inheritance
System.Object
SourceCodeProvider
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 abstract class SourceCodeProvider
Constructors
SourceCodeProvider()
Declaration
protected SourceCodeProvider()
Methods
GetSignatureSourceCode(MethodBase)
Gets a string that contains the source code of the specified method's signature
Declaration
public abstract string GetSignatureSourceCode(MethodBase m)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodBase | m | Method which signature to get |
Returns
Type | Description |
---|---|
System.String |
GetSourceCodeDocuments(MethodBase)
Gets a collection of documents that contain the source code of the specified method
Declaration
public abstract IEnumerable<SourceDocument> GetSourceCodeDocuments(MethodBase m)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodBase | m | Method which source code to get |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SourceDocument> |