Table of Contents

Method MakeReadOnly

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MakeReadOnly()

Mark this ILContext as read-only and prevent this context from further accessing the originally passed method.
public void MakeReadOnly()

Remarks

If the method is altered prior to calling MakeReadOnly or afterwards by accessing the method directly, the results are undefined.