SuppressIldasmAttribute Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy SuppressIldasmAttribute.

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

Przykłady

W poniższym przykładzie kodu pokazano, jak zastosować SuppressIldasmAttribute atrybut do zestawu.

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

Uwagi

SuppressIldasmAttribute Zastosuj atrybut do zestawu lub modułu, aby zapobiec dezasemblowaniu zestawu lub modułu przy użyciu Ildasm.exe (IL Dezasembler).

Dotyczy