SuppressIldasmAttribute Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SuppressIldasmAttribute class.
public:
SuppressIldasmAttribute();
public SuppressIldasmAttribute ();
Public Sub New ()
Examples
The following code example demonstrates how to apply the SuppressIldasmAttribute attribute to an assembly.
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
Remarks
Apply the SuppressIldasmAttribute attribute to an assembly or module to prevent the assembly or module from being disassembled using the Ildasm.exe (IL Disassembler).
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.