Share via


Methods View (System_Runtime)

Contains instances of common language runtime (CLR) methods.

Fields

The following table lists the fields in the Methods view.

Column Type Required Description

Id

bigint

yes

The identifier of the method.

Access

smallint

yes

An enumeration value between 0 and 6 that describes the access restrictions for the method. These numeric values are equivalent to compiler, private, family and assembly, assembly, family, family or assembly, and public, respectively.

Attributes

nvarchar(max)

The custom attributes for the method.

Name

nvarchar(max)

yes

The name of the method.

CallingConvention

smallint

yes

An enumeration value between 1 and 6 that describes the calling convention used by this method. These numeric values are equivalent to default, unmanaged cdecl, unmanaged fastcall, unmanaged stdcall, unmanaged thiscall, and variable arguments, respectively. (Default = 1)

Code

nvarchar(max)

Optional source code information for the method.

OverriddenMethod

bigint

A method in a parent class that the method overrides. References the [System_Runtime].[Methods] view.

DeclaringType

bigint

yes

The type that contains the method. References the [System_Runtime].[Types] view.

Documentation

nvarchar(max)

The XML Document fragment for the method.

DocumentPart

bigint

A reference to optional source line information.

IsAbstract

bit

yes

A bit flag that indicates that the method is abstract. (Default = 0)

Folder

int

yes

The “Oslo” repository Folder associated with the method. References the [Repository.Item].[Folders] view. (Default = 100)

IsStatic

bit

yes

A bit flag that indicates that the method is static. (Default = 0)

IsVirtual

bit

yes

A bit flag that indicates that the method is virtual. (Default = 0)

Instructions

nvarchar(max)

An optional string that provides method instructions.

IsFinal

bit

yes

A bit flag that indicates that the method is final, meaning that this method cannot be overridden in derived classes. (Default = 0)

IsNew

bit

yes

A bit flag that specifies that the method will get a new slot in the virtual method table. (Default = 0)

IsToolSpecialName

bit

yes

A bit flag that specifies that the method name is special and has a reserved use by tools other than the common language runtime (CLR). (Default = 0)

IsRuntimeSpecialName

bit

yes

A bit flag that specifies that the method name is special and has a reserved use by the common language runtime (CLR). (Default = 0)

HidesByNameOnly

bit

yes

A bit flag that specifies that development tools should hide methods of the base class that match the name only, regardless of the method signature. When this flag is set to 0, methods are hidden based on the method signature. (Default = 0)

IsPInvokeImplementation

bit

yes

A bit flag that indicates that the implementation is forwarded through PInvoke. (Default = 0)

IsSingleThreaded

bit

yes

A bit flag that specifies that the body of the method is single-threaded. (Default = 1)

Kind

smallint

yes

An enumeration value between 1 and 9 that describes the kind of the method. These numeric values are equivalent to "set property", "get property", "other property", "add event handler", "remove event handler", "raise event", "other event", "constructor", and "other", respectively.

NoInlining

bit

yes

A bit flag that specifies that this method should not be included directly into the code of any caller methods. (Default = 0)

ExplicitType

bigint

The type that contains the method that this method explicitly overrides. References the [System_Runtime].[Types] view.

Parameters

bigint

A reference to the parameter signature. This value can be used to find the method's parameters in the [System_Runtime].[Parameters] view through that view's ParameterSignature field. References the [System_Runtime].[ParameterSignatures] view.

ReturnType

bigint

The return type signature of the method. References the [System_Runtime].[TypeSignatures] view.

MetadataToken

int

yes

The metadata token for the method.

Remarks

The following views reference the [System_Runtime].[Methods] view.

See Also

Reference

System_Runtime Views
System_Runtime Schema

Send comments about this topic to Microsoft.