CodeReferenceKind Enumeration |
Kinds of code references (ICodeReference).
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public enum CodeReferenceKind
Member name | Value | Description | |
---|---|---|---|
None | 0 | No code reference. | |
TypeInheritance | 1 | Type inheritance. The base type is the ReferencedDeclaration; the child type is the ReferencingDeclaration. See TypeInheritanceCodeReference. | |
MemberType | 2 | Member type (field or property type, method return type, or parameter type). The member type is the ReferencedDeclaration. See MemberTypeCodeReference. | |
MethodUsage | 16 | Operand of an instruction in a method body. The ReferencingDeclaration is the method. See MethodUsageCodeReference. |