Browse documentation

Class InlineSignature.ModifierType

Namespace
HarmonyLib
Assembly
0Harmony.dll

A mutable type with an optional modopt or required modreq modifier.

public class InlineSignature.ModifierType
Inheritance
object
InlineSignature.ModifierType

Constructors

ModifierType()

public ModifierType()

Fields

IsOptional

Whether this is a modopt (optional modifier type) or a modreq (required modifier type)

public bool IsOptional

Field Value

bool

Modifier

The modifier type attached to the parameter type

public Type Modifier

Field Value

Type

Type

The modified parameter type

public object Type

Field Value

object

Methods

ToString()

Returns a string representation of the modifier type

public override string ToString()

Returns

string

A string representation of the modifier type

Harmony 3 preview

For the stable release, read the 2.x documentation.