MethodBuilder.GetILGeneratorCore(Int32) Method

Definition

When overridden in a derived class, gets an ILGenerator that can be used to emit a method body for this method.

C#
protected abstract System.Reflection.Emit.ILGenerator GetILGeneratorCore(int size);

Parameters

size
Int32

The size of the IL stream, in bytes.

Returns

Returns an ILGenerator object for this method.

Applies to

Product Versions
.NET 8, 9