SuppressIldasmAttribute Konstruktor

Definition

Initierar en ny instans av SuppressIldasmAttribute klassen.

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

Exempel

Följande kodexempel visar hur du tillämpar attributet på SuppressIldasmAttribute en sammansättning.

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

Kommentarer

SuppressIldasmAttribute Använd attributet för en sammansättning eller modul för att förhindra att sammansättningen eller modulen demonteras med hjälp avIldasm.exe (IL Disassembler).

Gäller för