System.Reflection.Emit.MethodBuilder.InitLocals Property

Gets or sets a Boolean value that specifies whether the local variables in this method are zero initialized. The default value of this property is true.

Syntax

public bool InitLocals { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If this property is set to true, the emitted MSIL includes initialization of local variables. If it is set to false, local variables are not initialized and the generated code is unverifiable.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0