Marks a field as volatile.
For a list of all members of this type, see IsVolatile Members.
[Visual Basic] NotInheritable Public Class IsVolatile [C#] public sealed class IsVolatile [C++] public __gc __sealed class IsVolatile [JScript] public class IsVolatile
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
IsVolatile is used only in custom modifiers of method signatures to indicate that the field it marks is volatile. Any compiler that imports metadata with one or more fields marked as volatile must use instructions prefixed with "volatile." to access such fields.
The classes in System.Runtime.CompilerServices are for compiler writers use only.
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)