PostSharpAPI ReferencePost­Sharp.​ReflectionMember­Type­Code­Reference
Open sandboxFocus

MemberTypeCodeReference Class

Represents a relationship between a type and a member of this type. A member can be a System.Reflection.FieldInfo, System.Reflection.PropertyInfo, or ParameterInfo.

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

Properties

Name Description
Member

Gets the member (System.Reflection.FieldInfo, System.Reflection.PropertyInfo, or ParameterInfo).

Type

Gets the member 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.