Method | Description | |
---|---|---|
SourceMethodBody ( IMethodBody ilMethodBody, IMetadataHost host, ISourceLocationProvider sourceLocationProvider, ILocalScopeProvider localScopeProvider, DecompilerOptions options = DecompilerOptions.None ) : System |
Allocates a metadata (IL) representation along with a source level representation of the body of a method or of a property/event accessor.
|
Method | Description | |
---|---|---|
GetBlock ( ) : IBlockStatement |
Decompile the IL operations of this method body into a block of statements.
|
Method | Description | |
---|---|---|
AddLocalsAndConstants ( |
||
CompareHandlers ( IOperationExceptionInformation handler1, IOperationExceptionInformation handler2 ) : int | ||
Consolidate ( |
||
CreateExceptionBlocks ( |
||
CreateLexicalScopes ( |
||
CreateNestedBlock ( |
||
DeleteLocalAssignedLocal ( |
||
DeleteNops ( |
||
GetLocalWithSourceName ( ILocalDefinition localDef ) : ILocalDefinition | ||
IsAssignmentOfLocalToLocal ( IStatement s, ILocalDefinition &local ) : bool | ||
ObjectInvariant ( ) : void | ||
RemoveRedundantFinalReturn ( |
||
SplitBlock ( |
public SourceMethodBody ( IMethodBody ilMethodBody, IMetadataHost host, ISourceLocationProvider sourceLocationProvider, ILocalScopeProvider localScopeProvider, DecompilerOptions options = DecompilerOptions.None ) : System | ||
ilMethodBody | IMethodBody | A method body whose IL operations should be decompiled into a block of statements that will be the /// result of the Block property of the resulting source method body. |
host | IMetadataHost | An object representing the application that is hosting the converter. It is used to obtain access to some global /// objects and services such as the shared name table and the table for interning references. |
sourceLocationProvider | ISourceLocationProvider | An object that can map some kinds of ILocation objects to IPrimarySourceLocation objects. May be null. |
localScopeProvider | ILocalScopeProvider | An object that can provide information about the local scopes of a method. |
options | DecompilerOptions | Set of options that control decompilation. |
return | System |