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 SourceIsOptional
Whether this is a modopt (optional modifier type) or a modreq (required modifier type)
Declaration
public bool IsOptional
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Modifier
The modifier type attached to the parameter type
Declaration
public Type Modifier
Field Value
| Type | Description |
|---|---|
| System.Type |
Type
The modified parameter type
Declaration
public object Type
Field Value
| Type | Description |
|---|---|
| System.Object |
Methods
| Improve this Doc View SourceToString()
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()