Mono Class Library: System.Runtime.CompilerServices NamespaceSystem.Runtime.CompilerServices.IsVolatile Class |
See Also: IsVolatile Members
|
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
System.Runtime.CompilerServices.IsVolatile 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 volatile. prefixed instructions to access such locations. Examples of such locations are volatile fields, volatile targets of pointers, and volatile elements of arrays.
Note: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 System.Runtime.CompilerServices 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.
[Edit]
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0