SuppressIldasmAttribute コンストラクター

定義

SuppressIldasmAttribute クラスの新しいインスタンスを初期化します。

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

次のコード例では、 属性をアセンブリに適用 SuppressIldasmAttribute する方法を示します。

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

注釈

属性を SuppressIldasmAttribute アセンブリまたはモジュールに適用して、 Ildasm.exe (IL 逆アセンブラー) を使用してアセンブリまたはモジュールが逆アセンブリされないようにします。

適用対象