Table of Contents

Property SourceMethodCloneIL

Namespace
MonoMod.Core
Assembly
MonoMod.Core.dll

SourceMethodCloneIL

A DynamicMethodDefinition that contains the IL for SourceMethodClone, if it has any.
DynamicMethodDefinition? SourceMethodCloneIL { get; }

Property Value

DynamicMethodDefinition

Remarks

This may be null even if SourceMethodClone is not. This represents a method which has no (meaningful) IL body. Clients should be sure to handle this case. For instance, RuntimeDetour treats this case as meaning that ILHooks cannot be applied to the method.