PostSharpAPI ReferencePost­Sharp.​ReflectionType­Inheritance­Code­Reference
Open sandboxFocus

TypeInheritanceCodeReference Class

Represents a inheritance relationship between two types.

Inheritance
TypeInheritanceCodeReference
Implements
ICodeReference
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public sealed class TypeInheritanceCodeReference : Object, ICodeReference

Properties

Name Description
BaseType

Gets the base type. If the base type is a generic type, this property contains a generic type instance.

DerivedType

Gets the derived type.

Explicit Interface Implementations

Name Description
ICodeReference.ReferencedDeclaration

Gets the declaration referenced by the other.

ICodeReference.ReferenceKind

Gets the kind of code reference.

ICodeReference.ReferencingDeclaration

Gets the declaration referencing the other.