This documentation is archived and is not being maintained.
System.Runtime.CompilerServices Namespace
.NET Framework 1.1
The System.Runtime.CompilerServices namespace provides functionality for compiler writers using managed code to specify attributes in metadata that affect the run time behavior of the common language runtime.
This namespace is for compiler writers use only.
Classes
| Class | Description |
|---|---|
| AccessedThroughPropertyAttribute | Specifies the name of the property that accesses the attributed field. |
| CallConvCdecl | Indicates that the Cdecl calling convention should be used for a method. |
| CallConvFastcall | This calling convention is not supported in this version of the .NET Framework. |
| CallConvStdcall | Indicates that the StdCall calling convention should be used for a method. |
| CallConvThiscall | Indicates that the ThisCall calling convention should be used for a method. |
| CompilationRelaxationsAttribute | Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler. |
| CompilerGlobalScopeAttribute | Indicates that a class should be treated as if it has global scope. |
| CustomConstantAttribute | Defines a constant value that a compiler can persist for a field or method parameter. |
| DateTimeConstantAttribute | Persists an 8-byte DateTime constant for a field or parameter. |
| DecimalConstantAttribute | Stores the value of a System.Decimal constant in metadata. |
| DiscardableAttribute | Marks a type definition as discardable. |
| IDispatchConstantAttribute | Indicates that the default value for the attributed field or parameter is an instance of DispatchWrapper, where the WrappedObject is a null reference (Nothing in Visual Basic). |
| IndexerNameAttribute | Indicates the name by which an indexer is known in programming languages that do not support indexers directly. |
| IsVolatile | Marks a field as volatile. |
| IUnknownConstantAttribute | Indicates that the default value for the attributed field or parameter is an instance of UnknownWrapper, where the WrappedObject is a null reference (Nothing in Visual Basic). |
| MethodImplAttribute | Specifies the details of how a method is implemented. |
| RequiredAttributeAttribute | Specifies that an importing compiler must fully understand the symantics of a type definition, or refuse to use it. |
| RuntimeHelpers | Provides a set of static methods and properties that provide support for compilers. |
Enumerations
| Enumeration | Description |
|---|---|
| MethodCodeType | Defines how a method is implemented. |
| MethodImplOptions | Defines the details of how a method is implemented. |
See Also
Show: