Method MakeReadOnly
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.