System.Runtime.CompilerServices.SuppressIldasmAttribute Class

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

See Also: SuppressIldasmAttribute Members


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


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.


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