System.Reflection.Emit.DynamicMethod.InitLocals Property

Gets or sets a value indicating whether the local variables in the method are zero-initialized.

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

Requirements

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