RuntimeCapability Enum

Definition

Specifies capabilities that may or may not be supported by the common language runtime the compilation is targeting.

public enum RuntimeCapability
type RuntimeCapability = 
Public Enum RuntimeCapability
Inheritance
RuntimeCapability

Fields

Name Value Description
ByRefFields 1

Represents a runtime feature where types can define ref fields.

CovariantReturnsOfClasses 2

Represents a runtime feature where overriding methods can return more derived types than the method they override.

DefaultImplementationsOfInterfaces 3

Represents a runtime feature where interfaces can define default method implementations.

NumericIntPtr 4

Indicates that this version of the runtime supports IntPtr and UIntPtr as numeric types.

UnmanagedSignatureCallingConvention 5

Represents a runtime feature where C# function pointers can be declared with an unmanaged calling convention.

VirtualStaticsInInterfaces 6

Indicates that this version of runtime supports virtual static members of interfaces.

InlineArrayTypes 7

Indicates that this version of runtime supports inline array types.

ByRefLikeGenerics 8

Indicates that this version of runtime supports generic type parameters allowing substitution with a ref struct.

Applies to