nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio / Globals

Globals

Full name Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio.IL.Globals Assembly Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio Members 8

01 Syntax

Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio.IL.Globals

02 Methods

NameOverloadsSummary
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

NameOverloadsSummary
Cache 1
multiByteOpCodes 1
singleByteOpCodes 1
modules 1

04 Members

method GetOpCode #
GetOpCode(Int16)

get msil opcode from Globals.OpcodeLookupTable

Parameters
NameTypeDescription
iInt16

-

method ProcessSpecialTypes #
ProcessSpecialTypes(String)

Retrieve the friendly name of a type

Parameters
NameTypeDescription
typeNameString

The complete name to the type

Returns

The simplified name of the type (i.e. "int" instead f System.Int32)

method FixedPopCount #
FixedPopCount(OpCode)

由 OpCode.StackBehaviourPop 推导出该指令"固定"弹出的求值栈槽位数。

Returns

0 / 1 / 2 / 3;StackBehaviour.Varpop(call / callvirt / ret 等 弹栈数量取决于签名)返回 -1,由调用方另行处理。

method FixedPushCount #
FixedPushCount(OpCode)

由 OpCode.StackBehaviourPush 推导出该指令"固定"压入的求值栈槽位数。

Returns

0 / 1 / 2;StackBehaviour.Varpush 返回 -1。

field Cache #
Cache
field multiByteOpCodes #
multiByteOpCodes
field singleByteOpCodes #
singleByteOpCodes
field modules #
modules