IInformationalMethodBody Interface
Definition
Section titled “Definition”A Mono.Cecil MethodBody wrapper which contains a list of IInformationalInstruction in place of a Mono.Cecil Instruction list for easier analysis.
public interface IInformationalMethodBodyProperties
Section titled “Properties”The original MethodBody.
MethodBody Body { get; }InformationalInstructions
Section titled “InformationalInstructions”The list of IInformationalInstructions in the IInformationalMethodBody.
ReadOnlyCollection<IInformationalInstruction> InformationalInstructions { get; }Methods
Section titled “Methods”GetInformationalInstruction(Instruction)
Section titled “GetInformationalInstruction(Instruction)”Gets an IInformationalInstruction for the specified Instruction.
IInformationalInstruction GetInformationalInstruction(Instruction instruction)Parameters
Section titled “Parameters”instruction Instruction
The Instruction whose IInformationalInstruction to get.
Returns
Section titled “Returns”IInformationalInstruction
An IInformationalInstruction for the instruction.
HasErrors()
Section titled “HasErrors()”Checks if InformationalInstructions contains error annotations.
bool HasErrors()Returns
Section titled “Returns”bool
True if error annotations, otherwise false.
ToString()
Section titled “ToString()”Returns a string presentation of this IInformationalMethodBody.
string ToString()Returns
Section titled “Returns”ToStringWithAnnotations()
Section titled “ToStringWithAnnotations()”Returns a string presentation of this IInformationalMethodBody, including error annotations.
string ToStringWithAnnotations()Returns
Section titled “Returns”ToStringWithAnnotationsExclusive()
Section titled “ToStringWithAnnotationsExclusive()”Returns a string presentation of this IInformationalMethodBody with only instructions with error annotations.
string ToStringWithAnnotationsExclusive()