Share via


System.Runtime.CompilerServices Namespace

Provides functionality for compiler writers using managed code to specify metadata attributes that affect the run-time behavior of the common language runtime (CLR).

Remarks

Items in this namespace are for use by Microsoft Visual Studio®. You should not try to use them in your applications.

Classes

Name Description
Public Class IndexerNameAttribute Indicates the name by which a particular indexer is known in programming languages that do not directly support indexers.
Public Class InternalsVisibleToAttribute Specifies that types that are ordinarily visible only within the current assembly are visible to another assembly.
Public Class MethodImplAttribute Specifies the details of how a particular method is implemented.
Public Class RuntimeHelpers Provides a set of static methods and properties that provide support for compilers.

Enumerations

Name Description
Public Enumeration MethodCodeType Defines how a particular method is implemented.
Public Enumeration MethodImplOptions Defines the details of how a particular method is implemented.