RuntimeFeature Class

Definition

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
RuntimeFeature

Fields

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

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

IsSupported(String)

Determines whether a specified feature is supported by the common language runtime.

Applies to