SecurityRulesAttribute.SkipVerificationInFullTrust Property

Definition

Determines whether fully trusted transparent code should skip Microsoft intermediate language (MSIL) verification.

C#
public bool SkipVerificationInFullTrust { get; set; }

Property Value

true if MSIL verification should be skipped; otherwise, false. The default is false.

Remarks

This property should be used only for optimization, because security guarantees made for transparent code cannot be enforced if the code is unverifiable.

If you use this property to skip MSIL verification for an assembly, use the /transparent option in the Peverify tool to statically verify that the assembly's transparent code meets type safety requirements.

Applies to

Produkt Verzie
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1