RuntimeFeature Class (System.Runtime.CompilerServices) (original) (raw)

Definition

Namespace:

System.Runtime.CompilerServices

Assemblies:

netstandard.dll, System.Runtime.dll

Assembly:

System.Runtime.dll

Assembly:

mscorlib.dll

Assembly:

netstandard.dll

Source:

RuntimeFeature.cs

Source:

RuntimeFeature.cs

Source:

RuntimeFeature.cs

Source:

RuntimeFeature.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines APIs to determine whether specific features are supported by the common language runtime.

public ref class RuntimeFeature abstract sealed
public static class RuntimeFeature
type RuntimeFeature = class
Public Class RuntimeFeature

Inheritance

Object

RuntimeFeature

Fields

Name Description
ByRefFields Represents a runtime feature where types can define ref fields.
ByRefLikeGenerics Represents a runtime feature where byref-like types can be used in generic parameters.
CovariantReturnsOfClasses Represents a runtime feature where overriding methods can return more derived types than the method they override.
DefaultImplementationsOfInterfaces Represents a runtime feature where interfaces can define default method implementations.
NumericIntPtr Indicates that this version of the runtime supports IntPtr and UIntPtr as numeric types.
PortablePdb Represents the portable PDB runtime feature.
UnmanagedSignatureCallingConvention Represents a runtime feature where C# function pointers can be declared with an unmanaged calling convention.
VirtualStaticsInInterfaces Indicates that this version of runtime supports virtual static members of interfaces.

Properties

Name Description
IsDynamicCodeCompiled Gets a value that indicates whether the runtime compiles dynamic code.
IsDynamicCodeSupported Gets a value that indicates whether the runtime supports dynamic code.

Methods

Name Description
IsSupported(String) Determines whether a specified feature is supported by the common language runtime.

Applies to