PostSharp.Sdk.CodeModel Namespace |
[Missing <summary> documentation for "N:PostSharp.Sdk.CodeModel"]
Class | Description | |
---|---|---|
AssemblyEnvelope |
Represents an assembly understood basically, internally, as a collection
of modules (ModuleDeclaration) and, externally, as a collection
of exported types.
| |
AssemblyManifestDeclaration |
Represents an assembly manifest (Assembly).
| |
AssemblyNameExtensions |
Extension methods for the IAssemblyName interface.
| |
AssemblyNameWrapper |
Wraps an AssemblyName into an IAssemblyName.
| |
AssemblyProcessorArchitectureExtensions | ||
AssemblyRefDeclaration |
Represents a reference to an external assembly (AssemblyRef).
| |
BaseInstructionWriter |
Provides the base operations for emitting IL instructions. This abstract class
does not specify to which kind of target instructions are written. This is specific
to classes deriving BaseInstructionWriter.
| |
BindingException |
Exception thrown when a binding exception occurs in PostSharp.
| |
CompareExtensions | ||
CustomAttributeConstructorException |
Wraps any exception thrown during the construction of a custom attribute
runtime instance.
| |
CustomAttributeDeclaration |
Represents a custom attribute (CustomAttribute).
| |
CustomAttributeHelper |
Extension methods for IAnnotationValue.
| |
CustomDebuggingInformation |
This class is used as a base for pieces of debugging information
that PostSharp does not need to understand. The format is opaque
to the PDB file format.
| |
DataSectionDeclaration |
Represents a data section, where initial values of fields are stored.
| |
Declaration |
Base type for all declarations of a module.
| |
DeclarationCache |
Caches some frequently-used declarations or constructions with lazy loading.
| |
Domain |
A domain is a scope, i.e. a context in which external references
are resolved. A domain contains assemblies.
| |
Element | Represents an element of a tree structure. | |
EventDeclaration |
Represents an event (Event).
| |
ExceptionHandler |
Represents an exception handler.
| |
ExportedTypeDeclaration |
Represents a type exported by the current assembly but not defined in the current
module.
| |
FieldDefDeclaration |
Represents a field definition (FieldDef).
| |
FieldRefDeclaration |
Represents a reference to a field of a
type defined in an external assembly (MemberRef).
| |
GenericConstraintCollector | ||
GenericEventReference |
Reference to an EventDeclaration combined with a GenericMap specifying
the generic arguments of this event with respect to the context that returned
the GenericEventReference.
| |
GenericFieldReference |
Reference to a FieldDefDeclaration combined with a GenericMap specifying
the generic arguments of this field with respect to the context that returned
the GenericFieldReference.
| |
GenericHelper |
Extension methods for generic types and methods.
| |
GenericMemberReference | ||
GenericMethodReference |
Reference to a MethodDefDeclaration combined with a GenericMap specifying
the generic arguments of this method with respect to the context that returned
the GenericMethodReference.
| |
GenericParameterConstraintDeclaration |
Represents a constraint of a generic parameter (GenericParamConstraint).
| |
GenericParameterDeclaration |
Represents a generic parameter (GenericParam).
| |
GenericPropertyReference |
Reference to a PropertyDeclaration combined with a GenericMap specifying
the generic arguments of this property with respect to the context that returned
the GenericPropertyReference.
| |
ICustomDebuggingInformationOwnerExtensions | ||
Instruction |
Gives read-only access to the current instruction of an InstructionReader.
| |
InstructionBlock |
A single node of the hierarchical structure of a method body.
| |
InstructionReader |
Reads a stream of binary IL instructions and debugging sequence points.
| |
InstructionReaderBookmark |
Bookmark for the InstructionReader class.
| |
InstructionSequence |
Represents a sequence of instructions without branches, i.e. the control flow
necessarily begins at the beginning of the sequence and ends at the end
of the sequence.
| |
InstructionWriter |
Writes a linear stream of instructions into an InstructionSequence.
| |
InstructionWriterExtensions | ||
InterfaceImplementationDeclaration |
Represents an interface implementation (InterfaceImpl) of a TypeDefDeclaration.
| |
LocalConstantSymbol | ||
LocalVariableDeclaration |
Represents a local variable. Local variables are owned by method bodies
(MethodBodyDeclaration).
| |
LocalVariablesSignatureDeclaration | ||
LocalVariableSymbol |
Assigns a name to a local variable LocalVariableDeclaration.
Local variable symbols belong to an InstructionBlock, which
is in the current case the lexical scope of the variable.
| |
ManifestFileDeclaration |
Represents a file reference (File).
| |
ManifestResourceDeclaration |
Represents a resource referenced by the assembly (ManifestResource).
| |
MarshalType |
Marshal types. Determines how fields and parameters are marshaled
during PInvoke.
| |
MemberRefDeclaration |
Represents a reference to a field or method (MemberRef). This type
is the base of FieldRefDeclaration and MethodRefDeclaration.
| |
MemberValuePair |
Represents the fact that a member is assigned a value.
| |
MetadataDeclaration |
Base class for all declarations represented in the metadata tables.
Metadata declarations have a token (MetadataToken) and may have
custom attributes (CustomAttributeDeclaration).
| |
MetadataDeclarationTables |
Exposes the metadata tables.
| |
MethodBodyDeclaration |
Represents the IL body of a method.
| |
MethodCollectionExtensions |
Extension methods for IMethodCollection.
| |
MethodDefDeclaration |
Represents a method definition (MethodDef).
| |
MethodExtensions | ||
MethodGroupDeclaration |
Implements the functionalities that are common to PropertyDeclaration
and EventDeclaration, which are both lexical collections of
method semantics (MethodSemanticDeclaration).
| |
MethodImplementationDeclaration |
Represents a method implementation (MethodImpl), i.e. an indication of
the interface method being implemented by the current MethodDefDeclaration.
| |
MethodRefDeclaration |
Represents a method reference.
| |
MethodSemanticDeclaration |
Represents a method semantic (MethodSemantic), i.e. the association of a method and a role in
a collection (PropertyDeclaration or EventDeclaration).
| |
MethodSemanticDeclaration.BySemanticComparer |
Implementation of IComparer<T> comparing instances
by their Semantic property.
| |
MethodSignature |
Represents a method signature, which specifies primarily a calling convention and
the type of parameters.
| |
MethodSignatureDeclaration | ||
MethodSpecDeclaration |
Represents a method specification (MethodSpec), i.e.
the construction of a concrete generic method.
| |
ModuleDeclaration |
Represents a module (Module).
| |
ModuleMismatchException | ||
ModuleRefDeclaration |
Represents a reference to another module in the same assembly (ModuleRef).
| |
NamedMetadataDeclaration |
Extends the MetadataDeclaration class with a Name property.
| |
NamedPositionedMetadataDeclaration |
A NamedMetadataDeclaration with an Ordinal property.
| |
NameMapper |
Provides an additional level of indirection between a named metadata declaration and its name, allowing
to use the services of IWriteReflectionName in situations where the name of declaration
has changed, for instance in an obfuscator.
| |
NtSubsystems |
Most common values of the property Subsystem.
| |
OpCodeDictionary<!0> |
Efficient implementation of a dictionary taking an OpCodeNumber
as the key type.
| |
OpCodeMap |
Maps OpCodeNumber to OpCode and provides
the various properties of opcodes.
| |
ParameterDeclaration |
Represents a method parameter (ParamDef).
| |
PermissionDeclaration |
Represents a permission attribute.
| |
PermissionSetDeclaration |
Represents a permission set (Permission).
| |
PInvokeMap |
Maps a method declaration to an external unmanaged method.
| |
PropertyDeclaration |
Represents a property (Property).
| |
RawUnmanagedResource |
Unmanaged resource given in raw form, as an array of bytes.
| |
SerializationType |
Represents the type of a serialized value.
| |
SerializedValue |
Represents a serialized value and stores enough information to
serialize it back using the exact representation.
| |
StackTypeStatusTracker | ||
StandaloneAssemblyIdentity | ||
StandaloneAssemblyName |
Standalone implementation of IAssemblyName.
| |
StandaloneSignatureDeclaration |
Represents a stand-alone signature (Signature).
| |
StandaloneTypeSignatureDeclaration | ||
TypeDefDeclaration |
Represents a type.
| |
TypeIdentifier | ||
TypeRefDeclaration |
Represents a type reference (TypeRef).
| |
TypeSignature |
Represents a type construction (pointer, array, generic type instance, intrinsic, ...).
| |
TypeSignatureCollection |
Collection of types (IType).
| |
TypeSignatureExtensions |
Extension methods for ITypeSignature.
| |
TypeSpecDeclaration |
Represents a type specification (TypeSpec).
| |
UnmanagedResource |
Abstract class representing an unmanaged (Windows) resource.
The only current implementation is RawUnmanagedResource,
but later versions may provide implementations for specific types
of resources.
| |
VisibilityHelper |
Provides methods that determines the visibility of classes, fields and methods.
| |
WriteReflectionNameExtensions |
Extension methods for the interface IWriteReflectionName.
|
Structure | Description | |
---|---|---|
AssemblyQualifiedTypeName | ||
CommonString | ||
GenericMap |
Map generic arguments to their value.
| |
LiteralString |
Encapsulates a read-only array of characters.
| |
MappedGenericDeclaration<!0> |
Pair of a generic definition (IGenericDefinition) and a GenericMap.
| |
MetadataToken |
Encapsulates a metadata token, which unambiguously identifies a MetadataDeclaration
inside a ModuleDeclaration.
| |
NullableBool | ||
OpCodeInfo |
Static characteristics of an MSIL opcode.
| |
TagId |
Unique identifier of a tag of the interface ITaggable.
| |
UncompressedInstructionInt32 | ||
UncompressedOpCode |
Uncompressed opcode (i.e. an opcode with its operand).
| |
UnmanagedResourceName |
Represents the name or the type of an UnmanagedResource,
which can consist either in a string, either in an integer.
|
Interface | Description | |
---|---|---|
IAnnotationInstance |
Exposes the fact that a custom attribute (IAnnotationValue)
is applied to an element (MetadataDeclaration).
| |
IAnnotationValue |
Defines the semantics of a custom attribute value,
i.e. basically a constructor, its arguments and other named arguments.
| |
IAssembly |
Defines the semantics of an assembly
(AssemblyRefDeclarationAssemblyEnvelope).
| |
IAssemblyDeclaration |
Defines the semantics of assemblies.
| |
IAssemblyIdentity | ||
ICloneableModuleElement |
A module element that has the ability to create a clone of itself, expressed for a different module.
| |
ICustomDebuggingInformationOwner | ||
IDeclaration |
Exposes the semantics of a declaration, which is basically a module-scoped domain element.
| |
IElement |
Defines the semantics of a domain element, which is basically a domain-rooted tree node.
| |
IField |
Defines the semantics of a field
(FieldDefDeclaration, FieldRefDeclaration).
| |
IGeneric |
Exposes the common semantics to generic instances and generic definitions.
| |
IGenericDefinition |
Exposes the semantics of a generic definition (i.e. a type
or method having (unbound) generic parameters). Classes implementing
IGenericDefinition can also represent references to generic definitions.
| |
IGenericDefinitionDefinition |
Exposes the semantics of a generic definition but, unlike IGenericDefinition,
are a real definition and not a reference.
| |
IGenericInstance |
Exposes the semantics of a generic instance (i.e. an instance of generic definition,
with concretely specified generic, bound arguments).
| |
IGenericMethodDefinition |
Declares the semantics of a generic method definition, i.e. a method
that may have unbound generic parameter and method constructions
(MethodSpecDeclaration).
| |
IGenericParameter |
Defines the semantics of a generic parameter or argument.
| |
IGenericTypeDefinition |
A type that can be a generic definition (TypeDefDeclaration or ITypeRefResolutionScope).
| |
IManifestResourceImplementation |
Defines the semantics that are common to all physical locations
that can contain resources (ManifestResourceDeclaration).
| |
IMember |
Defines the semantics of a type member (DeclaringType
and [!:IMember.Name] properties).
| |
IMemberRefResolutionScope |
Defines semantics of all classes declaring external fields or methods.
| |
IMetadataDeclaration |
Defines the semantics of a metadata declaration, i.e. a declaration with
a token.
| |
IMethod |
Defines the functionalities that are common to all representations
of a method (MethodDefDeclaration, MethodRefDeclaration,
MethodSpecDeclaration).
| |
IMethodBodyVisitor |
Callback interface of Visit(IMethodBodyVisitor[]).
| |
IMethodSignature |
Exposes the semantics of a method signature.
| |
IModule |
Defines the functionalities that are common to all representations of a module
(ModuleDeclaration, ModuleRefDeclaration).
| |
IModuleElement |
Part of a ModuleDeclaration.
| |
IMutableSourceDocument | ||
INamedMetadataDeclaration |
A MetadataDeclaration with a Name property.
| |
INamedType |
Defines the semantics of a type (IType) that can be named.
| |
IRemovable |
Defines the semantics of a declaration that can be removed from its parent.
| |
ISecurable |
Defines semantics of declarations that can be secured by
permission sets
(TypeDefDeclaration, MethodDefDeclaration,
AssemblyManifestDeclaration).
| |
ITaggable |
Defines the semantics of a taggable object. User code can add custom pieces of
information to PostSharp objects using this mechanism. DomainTags are identified
by a Guid. There is no difference between an absent tag and
a null tag value.
| |
IType |
Defines the semantics of a type.
| |
ITypeContainer |
Exposes the semantics of a declaration that can contain type definitions
(ModuleDeclaration or TypeDefDeclaration).
| |
ITypeDeclaration | ||
ITypeRefResolutionScope |
Defines semantics of TypeRefDeclaration resolution scopes
(TypeRefDeclaration, AssemblyRefDeclaration,
ModuleDeclaration).
| |
ITypeSignature |
Defines the functionalities that are common to all representations
of a type (TypeDefDeclaration, TypeRefDeclaration,
TypeSpecDeclaration, TypeSignature).
| |
ITypeSignatureDeclaration | ||
IWeakReferenceable |
Defines the semantics of declarations (TypeRefDeclaration
and AssemblyRefDeclaration) that can be "weakly references".
| |
IWriteReflectionName |
Defines a method WriteReflectionName(StringBuilder, ReflectionNameOptions).
|
Delegate | Description | |
---|---|---|
InstructionAction |
Represents an action that performs an action on the current instruction
of a specified InstructionReader.
|
Enumeration | Description | |
---|---|---|
AssemblyAttributes |
Attributes of an AssemblyManifestDeclaration.
| |
AssemblyRefAttributes |
Options of assembly references (AssemblyRefDeclaration).
| |
BindingOptions |
Determines how the binding methods behave when the requested object
is not found.
| |
CallingConvention |
Determines the calling convention of methods.
| |
DataSectionKind |
Kind of section in which a DataSectionDeclaration must be stored.
| |
GenericContextOptions |
Options of the GetGenericContext(GenericContextOptions) method.
| |
GenericParameterKind |
Enumerates the kind of classes accepting generic parameters.
| |
ImageAttributes |
Attributes of a .NET PE module.
| |
InstructionBlockExceptionHandlingKind |
Kinds of InstructionBlock with regard to exception handling.
| |
InstructionPrefixes |
Enumeration of IL prefixes.
| |
IntrinsicType |
Enumeration of primitive types of the .NET runtime.
This includes intrinsic types.
| |
LoadAssemblyOptions | ||
MemberKind |
Enumerates the kinds of type members.
| |
MethodBodyVisitLevel | ||
MethodSemantics |
Enumerates the method semantics.
| |
OpCodeNumber | Enumeration of all opcode numbers. | |
PeKind |
Kinds of PE formats.
| |
PInvokeAttributes |
P-Invoke attributes.
| |
ReflectionNameOptions |
Options for the methods WriteReflectionName(StringBuilder, ReflectionNameOptions).
| |
SerializedValueBindingOptions |
Options for method GetRuntimeValue(SerializedValueBindingOptions).
| |
StandaloneSignatureKind |
Enumerates the kind of stand-alone signatures (StandaloneSignatureDeclaration).
| |
TokenType |
Specifies the type of metadata token.
| |
TypeKind | ||
TypeNakingOptions |
Determines the behavior of the GetNakedType(TypeNakingOptions) method.
| |
TypeSignatureElementKind | ||
UnmanagedResourceType |
Types of unmanaged resources (like Accelerator, Icon, ...).
|