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 逆アセンブラー) を使用して逆アセンブルされないようにします。

適用対象