System.Runtime.CompilerServices.SuppressIldasmAttribute Class

Prevents the MSIL Disassembler (Ildasm.exe) from disassembling an assembly. This class cannot be inherited.

See Also: SuppressIldasmAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Module | System.AttributeTargets.All)]
public sealed class SuppressIldasmAttribute : Attribute

Remarks

Apply the System.Runtime.CompilerServices.SuppressIldasmAttribute attribute to an assembly or module to prevent the assembly or module from being disassembled using the MSIL Disassembler (Ildasm.exe).

This attribute does not prevent an assembly from being viewed using reflection.

Note that System.Runtime.CompilerServices.SuppressIldasmAttribute attribute does not block the MSIL Disassembler (Ildasm.exe) from viewing header information and meta-information.

Requirements

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