Export (0) Print
Expand All

UnverifiableCodeAttribute Class

Marks modules containing unverifiable code. This class cannot be inherited.

For a list of all members of this type, see UnverifiableCodeAttribute Members.

System.Object
   System.Attribute
      System.Security.UnverifiableCodeAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Module)>
NotInheritable Public Class UnverifiableCodeAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Module)]
public sealed class UnverifiableCodeAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Module)]
public __gc __sealed class UnverifiableCodeAttribute : public
   Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Module)
class UnverifiableCodeAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This custom attribute is only for use by compilers and not intended to be used directly by application developers.

Modules containing unverifiable code should be marked with this attribute. This attribute carries no internal state. Its presence in the module metadata indicates that the module contains unverifiable code.

Requirements

Namespace: System.Security

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

UnverifiableCodeAttribute Members | System.Security Namespace | Extending Metadata Using Attributes

Show:
© 2014 Microsoft