PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Code­Reference­Kind Enumeration

CodeReferenceKind Enumeration

Kinds of code references (ICodeReference).

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public enum CodeReferenceKind
  Member nameValueDescription
None0 No code reference.
TypeInheritance1 Type inheritance. The base type is the ReferencedDeclaration; the child type is the ReferencingDeclaration. See TypeInheritanceCodeReference.
MemberType2 Member type (field or property type, method return type, or parameter type). The member type is the ReferencedDeclaration. See MemberTypeCodeReference.
MethodUsage16 Operand of an instruction in a method body. The ReferencingDeclaration is the method. See MethodUsageCodeReference.
See Also