SuppressIldasmAttribute Constructeur

Définition

Initialise une nouvelle instance de la classe SuppressIldasmAttribute.

public:
 SuppressIldasmAttribute();
public SuppressIldasmAttribute();
Public Sub New ()

Exemples

L’exemple de code suivant montre comment appliquer l’attribut SuppressIldasmAttribute à un assembly.

using System;
using System.Runtime.CompilerServices;

[assembly: SuppressIldasmAttribute()]
class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("The SuppressIldasmAttribute is applied to this assembly.");
    }
}
Imports System.Runtime.CompilerServices



<Assembly: SuppressIldasmAttribute()> 


Class Program

    Shared Sub Main(ByVal args() As String)
        Console.WriteLine("The SuppressIldasmAttribute is applied to this assembly.")

    End Sub
End Class

Remarques

Appliquez l’attribut SuppressIldasmAttribute à un assembly ou un module pour empêcher l’assembly ou le module d’être désassemblé à l’aide du Ildasm.exe (désassembleur IL).

S’applique à