RuntimeInfrastructure mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ] 1.0.5000.0 2.0.0.0 4.0.0.0 All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. System.Object

Marks a location in the memory store as volatile.

is a class used only in custom modifiers of method signatures to indicate that a location in the memory store (see "The Memory Store" in Partition I) is "volatile".

When used as a required modifier, any compiler that successfully imports metadata that describes a memory location as "volatile" is required to use prefixed instructions to access such locations. Examples of such locations are volatile fields, volatile targets of pointers, and volatile elements of arrays.

For most languages, it is recommended that the notion of "volatile" be attached to locations using language syntax instead of custom modifiers.

The types in are intended primarily for use by compilers, not application programmers. They allow compilers to easily implement certain language features that are not directly visible to programmers.

For more information on custom modifiers, see Partition II of the CLI Specification.

0 System.Runtime.InteropServices.ComVisible(true)