MetalamaAPI documentationAspect APIMetalama.​Framework.​ValidationReference­Kinds
Open sandboxFocus

ReferenceKinds Class

Enumerates all kinds of references.

Inheritance
System.Object
ReferenceKinds
Namespace: Metalama.Framework.Validation
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class ReferenceKinds : Enum

Fields

Name Description
All

All reference kinds.

ArrayType

Element type of an array.

Assignment

Left part of an assignment.

AttributeType

Type of a custom attribute.

BaseConstructor

Base constructor (either this or base).

BaseType

Base type or interface.

Default

A field or property access that does not fall into another category.

InterfaceMemberImplementation

Implicit or explicit implementation of an interface member.

Invocation

Invocation of a method or delegate.

LocalVariableType

Type of a local variable.

MemberType

Type of a field, property, or event.

NameOf

nameof.

None
NullableType

Nullable type.

ObjectCreation

Object construction, i.e. constructor invocation.

OverrideMember

The member is being overridden using an override.

ParameterType

Parameter reference.

PointerType

Type of element pointed at by an unmanaged pointer.

RefType

Type of a ref.

ReturnType

Return type of a method.

TupleType

Type of a tuple element.

TypeArgument

Type argument (e.g. generic argument).

TypeConstraint

Type constraint of a generic parameter.

TypeOf

typeof.

Using

Inside a using directive.

value__

See Also