SuppressIldasmAttribute Construtor

Definição

Inicializa uma nova instância da SuppressIldasmAttribute classe.

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

Exemplos

O exemplo de código seguinte demonstra como aplicar o SuppressIldasmAttribute atributo a uma assembleia.

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

Observações

Aplique o SuppressIldasmAttribute atributo a um conjunto ou módulo para evitar que este seja desmontado usando o Ildasm.exe (IL Disassembler).

Aplica-se a