Open sandboxFocus

Namespace PostSharp.Reflection

Classes

CustomAttributeInstance

In Metalama, use IAttributeData.

CustomReflectionBinder

No equivalent in Metalama.

LocationInfo

In Metalama, use FieldOrPropertyInfo.

MemberTypeCodeReference

In Metalama, use ReferenceValidationContext.

MethodUsageCodeReference

In Metalama, use ReferenceValidationContext.

ObjectConstruction

In Metalama, use AttributeConstruction.

ParameterKindExtensions

In Metalama, use RefKindExtensions.

ReflectionExtensions

There is no direct equivalent in Metalama, but individual methods may have.

ReflectionHelper

The equivalent in Metalama is ReflectionHelper but it does not cover the same functions.

ReflectionSearch

See individual methods for migration assistance.

ReflectionTypeComparer

In Metalama, use ICompilation.Comparers.

SymbolSequencePoint

Not exposed in Metalama.

TypeInheritanceCodeReference

In Metalama, use ReferenceValidationContext.

Structs

DeclarationIdentifier

No equivalent in Metalama.

SemanticInfo

No equivalent in Metalama.

Interfaces

IAssemblyName

In Metalama, use IAssemblyIdentity.

ICodeReference

In Metalama, use DeclarationValidationContext or ReferenceValidationContext.

IMetadataDispenser

No equivalent in Metalama.

IMetadataEmitter

No equivalent in Metalama.

ISourceDocument

This is currently not exposed in Metalama.

Enums

AssemblyProcessorArchitecture

The processor architecture is not exposed in Metalama.

CodeReferenceKind

In Metalama, use ReferenceKinds.

LocationKind

No equivalent in Metalama.

MethodUsageInstructions

In Metalama, use ReferenceKinds.

ParameterKind

In Metalama, use RefKind.

ReflectionSearchOptions

There is no equivalent in Metalama.

Semantics

No equivalent in Metalama.

StateMachineKind

In Metalama, use AsyncInfo at compile time. There is no equivalent at run time.

Visibility

In Metalama, use Accessibility.