Show / Hide Table of Contents

Class InlineSignature.ModifierType

A mutable representation of a parameter type with an attached type modifier, similar to Mono.Cecil's OptionalModifierType / RequiredModifierType and C#'s modopt / modreq

Inheritance
System.Object
InlineSignature.ModifierType
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class ModifierType

Fields

| Improve this Doc View Source

IsOptional

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

Declaration
public bool IsOptional
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Modifier

The modifier type attached to the parameter type

Declaration
public Type Modifier
Field Value
Type Description
System.Type
| Improve this Doc View Source

Type

The modified parameter type

Declaration
public object Type
Field Value
Type Description
System.Object

Methods

| Improve this Doc View Source

ToString()

Returns a string representation of the modifier type

Declaration
public override string ToString()
Returns
Type Description
System.String

A string representation of the modifier type

Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX