Globals
01 Syntax
Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio.IL.Globals
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetOpCode | 1 | get msil opcode from Globals.OpcodeLookupTable |
| ProcessSpecialTypes | 1 | Retrieve the friendly name of a type |
| FixedPopCount | 1 | 由 OpCode.StackBehaviourPop 推导出该指令"固定"弹出的求值栈槽位数。 |
| FixedPushCount | 1 | 由 OpCode.StackBehaviourPush 推导出该指令"固定"压入的求值栈槽位数。 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| Cache | 1 | |
| multiByteOpCodes | 1 | |
| singleByteOpCodes | 1 | |
| modules | 1 |
04 Members
GetOpCode(
Int16)get msil opcode from Globals.OpcodeLookupTable
Parameters
| Name | Type | Description |
|---|---|---|
i | Int16 | - |
ProcessSpecialTypes(
String)Retrieve the friendly name of a type
Parameters
| Name | Type | Description |
|---|---|---|
typeName | String | The complete name to the type |
Returns
The simplified name of the type (i.e. "int" instead f System.Int32)
FixedPopCount(
OpCode)由 OpCode.StackBehaviourPop 推导出该指令"固定"弹出的求值栈槽位数。
Returns
0 / 1 / 2 / 3;StackBehaviour.Varpop(call / callvirt / ret 等 弹栈数量取决于签名)返回 -1,由调用方另行处理。
FixedPushCount(
OpCode)由 OpCode.StackBehaviourPush 推导出该指令"固定"压入的求值栈槽位数。
Returns
0 / 1 / 2;StackBehaviour.Varpush 返回 -1。
Cache
multiByteOpCodes
singleByteOpCodes
modules