If this property is set to true, the emitted Microsoft intermediate language (MSIL) includes initialization of local variables. If it is set to false, local variables are not initialized and the generated code is unverifiable.
The following code example displays the InitLocals property of a dynamic method. This code example is part of a larger example provided for the DynamicMethod class.