PostSharpAPI ReferencePost­Sharp.​Reflection
Open sandboxFocus

PostSharp.Reflection Namespace

Classes

AssemblyProcessorArchitecture

Processor architectures of an assembly.

CodeReferenceKind

Kinds of code references (ICodeReference).

CustomAttributeInstance

Instance of a custom attribute on a target declaration.

CustomReflectionBinder

Custom implementation of a reflection Binder that select methods based on exact matches using the ReflectionTypeComparer.

DeclarationIdentifier

Encapsulates a unique identifier of a declaration. The identifier does not contain the kind of declaration. Different declarations of different kinds can have the same identifier.

LocationInfo

Represents a System.Reflection.FieldInfo, PropertyInfo or ParameterInfo, which all have the semantics of a location (get value, set value).

LocationKind

Enumerates the kinds of code elements that can be encapsulated by a LocationInfo.

MemberTypeCodeReference

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

MethodUsageCodeReference

Represents a relationship between a declaration (Type, System.Reflection.FieldInfo, System.Reflection.MethodInfo or System.Reflection.ConstructorInfo) and a method whose instructions (method body) use the declaration.

MethodUsageInstructions

Instructions whose operands can reference a declaration.

ObjectConstruction

Specifies how an object should be constructed, i.e. specifies the constructor to be used, the arguments to be passed to this constructor, and the fields or properties to be set.

ParameterKind

Enumerates all possible kinds of method parameters. The parameter kind indicates whether the parameter is by ref or by value and its direction.

ParameterKindExtensions

Extensions for the ParameterKind class.

ReflectionExtensions

Provides utility methods to work with the System.Reflection namespace.

ReflectionHelper

Provides helper methods for work with System.Reflection.

ReflectionSearch

Set of static methods providing broader access to assembly metadata than the System.Reflection namespace. These methods are only available at build time.

ReflectionSearchOptions

ReflectionTypeComparer

Comparer of reflection types (Type) based on content, not reference.

SemanticInfo

Provides information about the semantic of a declaration in the source programming language. For instance an MSIL method can be in C# a property getter, an operator, an anonymous method, and so on.

Semantics

Enumerates the possible semantics of a declaration in the source programming language. For instance an MSIL method can be in C# a property getter, an operator, an anonymous method, and so on.

StateMachineKind

Enumeration of kinds of state machines.

SymbolSequencePoint

Maps a point in IL instructions to location in source code.

TypeInheritanceCodeReference

Represents a inheritance relationship between two types.

Visibility

Visibility of types and type members.

Interfaces

IAssemblyName

Defines the semantics of an assembly name.

ICodeReference

Represents a reference between two declarations.

IMetadataDispenser

Semantics of service that deserializes metadata objects (i.e. reflection objects) that have been serialized by IMetadataEmitter.

IMetadataEmitter

Semantics of a service that allows build-time code to serialize references to metadata objects (i.e. reflection objects) in a way that is compatible with obfuscators. References are deserialized at run-time using IMetadataDispenser.

ISourceDocument

Represents a file of source code.