Table of Contents

Class FieldInfoExtensions

Namespace
Garyon.Reflection
Assembly
Garyon.dll

Contains extension methods for the FieldInfo class.

public static class FieldInfoExtensions
Inheritance
FieldInfoExtensions
Inherited Members

Methods

GetAccessibilityModifiers(FieldInfo)

public static AccessibilityModifiers GetAccessibilityModifiers(this FieldInfo field)

Parameters

field FieldInfo

Returns

AccessibilityModifiers

GetFieldInvokableTypeKind(FieldInfo)

Determines the kind of the invokable type of a field.

public static InvokableTypeKind GetFieldInvokableTypeKind(this FieldInfo field)

Parameters

field FieldInfo

The field whose type to evaluate.

Returns

InvokableTypeKind

The respective kind of invokable type that the field's type is. Invalid will be returned if the field type is not an invokable type.