Table of Contents

Method Validate

Namespace
MonoMod.Core.Utils
Assembly
MonoMod.Core.dll

Validate(AddressKind, string)

Validates value, ensuring that it is a valid AddressKind.
public static void Validate(this AddressKind value, string argName = "")

Parameters

value AddressKind
The value to validate.
argName string
The name of the argument.

Exceptions

ArgumentOutOfRangeException
Thrown if value is invalid.