MethodBuilder.InitLocalsCore Property

Definition

When overridden in a derived class, gets or sets a value that indicates whether the local variables in this method are zero-initialized.

C#
protected abstract bool InitLocalsCore { get; set; }

Property Value

true if the local variables in this method should be zero initialized; otherwise false. The default is true.

Applies to

Product Versions
.NET 8, 9