Show / Hide Table of Contents

Class OpcodeSelector

Opcode selector for Short Forms.

Inheritance
System.Object
OpcodeSelector
Namespace: Cortex.Net.Fody
Assembly: Cortex.Net.Fody.dll
Syntax
public static class OpcodeSelector : object

Methods

| Improve this Doc View Source

Ldarg(ILProcessor, Int32)

Gets the best short form opcode for Ldarg.

Declaration
public static Instruction Ldarg(this ILProcessor processor, int index)
Parameters
Type Name Description
ILProcessor processor

The Il Processor to generate the instruction on.

System.Int32 index

The index.

Returns
Type Description
Instruction

An instruction.

| Improve this Doc View Source

Ldloc(ILProcessor, Int32)

Gets the best short form opcode for Ldloc.

Declaration
public static Instruction Ldloc(this ILProcessor processor, int index)
Parameters
Type Name Description
ILProcessor processor

The Il Processor to generate the instruction on.

System.Int32 index

The index.

Returns
Type Description
Instruction

An instruction.

| Improve this Doc View Source

Stloc(ILProcessor, Int32)

Gets the best short form opcode for Stloc.

Declaration
public static Instruction Stloc(this ILProcessor processor, int index)
Parameters
Type Name Description
ILProcessor processor

The Il Processor to generate the instruction on.

System.Int32 index

The index.

Returns
Type Description
Instruction

An instruction.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX