PostSharp SDK6.6//Post­Sharp.​Sdk.​Code­Model Namespace

PostSharp.Sdk.CodeModel Namespace

[Missing <summary> documentation for "N:PostSharp.Sdk.CodeModel"]

Classes
  ClassDescription
Public classAssemblyEnvelope
Represents an assembly understood basically, internally, as a collection of modules (ModuleDeclaration) and, externally, as a collection of exported types.
Public classAssemblyManifestDeclaration
Represents an assembly manifest (Assembly).
Public classAssemblyNameExtensions
Extension methods for the IAssemblyName interface.
Public classAssemblyNameWrapper
Wraps an AssemblyName into an IAssemblyName.
Public classAssemblyProcessorArchitectureExtensions
Public classAssemblyRefDeclaration
Represents a reference to an external assembly (AssemblyRef).
Public classBaseInstructionWriter
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.
Public classBindingException
Exception thrown when a binding exception occurs in PostSharp.
Public classCompareExtensions
Public classCustomAttributeConstructorException
Wraps any exception thrown during the construction of a custom attribute runtime instance.
Public classCustomAttributeDeclaration
Represents a custom attribute (CustomAttribute).
Public classCustomAttributeHelper
Extension methods for IAnnotationValue.
Public classCustomDebuggingInformation
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.
Public classDataSectionDeclaration
Represents a data section, where initial values of fields are stored.
Public classDeclaration
Base type for all declarations of a module.
Public classDeclarationCache
Caches some frequently-used declarations or constructions with lazy loading.
Public classDomain
A domain is a scope, i.e. a context in which external references are resolved. A domain contains assemblies.
Public classElement
Represents an element of a tree structure.
Public classEventDeclaration
Represents an event (Event).
Public classExceptionHandler
Represents an exception handler.
Public classExportedTypeDeclaration
Represents a type exported by the current assembly but not defined in the current module.
Public classFieldDefDeclaration
Represents a field definition (FieldDef).
Public classFieldRefDeclaration
Represents a reference to a field of a type defined in an external assembly (MemberRef).
Public classGenericConstraintCollector
Public classGenericEventReference
Reference to an EventDeclaration combined with a GenericMap specifying the generic arguments of this event with respect to the context that returned the GenericEventReference.
Public classGenericFieldReference
Reference to a FieldDefDeclaration combined with a GenericMap specifying the generic arguments of this field with respect to the context that returned the GenericFieldReference.
Public classGenericHelper
Extension methods for generic types and methods.
Public classGenericMemberReference
Public classGenericMethodReference
Reference to a MethodDefDeclaration combined with a GenericMap specifying the generic arguments of this method with respect to the context that returned the GenericMethodReference.
Public classGenericParameterConstraintDeclaration
Represents a constraint of a generic parameter (GenericParamConstraint).
Public classGenericParameterDeclaration
Represents a generic parameter (GenericParam).
Public classGenericPropertyReference
Reference to a PropertyDeclaration combined with a GenericMap specifying the generic arguments of this property with respect to the context that returned the GenericPropertyReference.
Public classICustomDebuggingInformationOwnerExtensions
Public classInstruction
Gives read-only access to the current instruction of an InstructionReader.
Public classInstructionBlock
A single node of the hierarchical structure of a method body.
Public classInstructionReader
Reads a stream of binary IL instructions and debugging sequence points.
Public classInstructionReaderBookmark
Bookmark for the InstructionReader class.
Public classInstructionSequence
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.
Public classInstructionWriter
Writes a linear stream of instructions into an InstructionSequence.
Public classInstructionWriterExtensions
Public classInterfaceImplementationDeclaration
Represents an interface implementation (InterfaceImpl) of a TypeDefDeclaration.
Public classLocalConstantSymbol
Public classLocalVariableDeclaration
Represents a local variable. Local variables are owned by method bodies (MethodBodyDeclaration).
Public classLocalVariablesSignatureDeclaration
Public classLocalVariableSymbol
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.
Public classManifestFileDeclaration
Represents a file reference (File).
Public classManifestResourceDeclaration
Represents a resource referenced by the assembly (ManifestResource).
Public classMarshalType
Marshal types. Determines how fields and parameters are marshaled during PInvoke.
Public classMemberRefDeclaration
Represents a reference to a field or method (MemberRef). This type is the base of FieldRefDeclaration and MethodRefDeclaration.
Public classMemberValuePair
Represents the fact that a member is assigned a value.
Public classMetadataDeclaration
Base class for all declarations represented in the metadata tables. Metadata declarations have a token (MetadataToken) and may have custom attributes (CustomAttributeDeclaration).
Public classMetadataDeclarationTables
Exposes the metadata tables.
Public classMethodBodyDeclaration
Represents the IL body of a method.
Public classMethodCollectionExtensions
Extension methods for IMethodCollection.
Public classMethodDefDeclaration
Represents a method definition (MethodDef).
Public classMethodExtensions
Public classMethodGroupDeclaration
Implements the functionalities that are common to PropertyDeclaration and EventDeclaration, which are both lexical collections of method semantics (MethodSemanticDeclaration).
Public classMethodImplementationDeclaration
Represents a method implementation (MethodImpl), i.e. an indication of the interface method being implemented by the current MethodDefDeclaration.
Public classMethodRefDeclaration
Represents a method reference.
Public classMethodSemanticDeclaration
Represents a method semantic (MethodSemantic), i.e. the association of a method and a role in a collection (PropertyDeclaration or EventDeclaration).
Public classMethodSemanticDeclaration.BySemanticComparer
Implementation of IComparer<T> comparing instances by their Semantic property.
Public classMethodSignature
Represents a method signature, which specifies primarily a calling convention and the type of parameters.
Public classMethodSignatureDeclaration
Public classMethodSpecDeclaration
Represents a method specification (MethodSpec), i.e. the construction of a concrete generic method.
Public classModuleDeclaration
Represents a module (Module).
Public classModuleMismatchException
Public classModuleRefDeclaration
Represents a reference to another module in the same assembly (ModuleRef).
Public classNamedMetadataDeclaration
Extends the MetadataDeclaration class with a Name property.
Public classNamedPositionedMetadataDeclaration
A NamedMetadataDeclaration with an Ordinal property.
Public classNameMapper
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.
Public classNtSubsystems
Most common values of the property Subsystem.
Public classOpCodeDictionary<T>
Efficient implementation of a dictionary taking an OpCodeNumber as the key type.
Public classOpCodeMap
Maps OpCodeNumber to OpCode and provides the various properties of opcodes.
Public classParameterDeclaration
Represents a method parameter (ParamDef).
Public classPermissionDeclaration
Represents a permission attribute.
Public classPermissionSetDeclaration
Represents a permission set (Permission).
Public classPInvokeMap
Maps a method declaration to an external unmanaged method.
Public classPropertyDeclaration
Represents a property (Property).
Public classRawUnmanagedResource
Unmanaged resource given in raw form, as an array of bytes.
Public classSerializationType
Represents the type of a serialized value.
Public classSerializedValue
Represents a serialized value and stores enough information to serialize it back using the exact representation.
Public classStackTypeStatusTracker
Public classStandaloneAssemblyIdentity
Public classStandaloneAssemblyName
Standalone implementation of IAssemblyName.
Public classStandaloneSignatureDeclaration
Represents a stand-alone signature (Signature).
Public classStandaloneTypeSignatureDeclaration
Public classTypeDefDeclaration
Represents a type.
Public classTypeIdentifier
Public classTypeRefDeclaration
Represents a type reference (TypeRef).
Public classTypeSignature
Represents a type construction (pointer, array, generic type instance, intrinsic, ...).
Public classTypeSignatureCollection
Collection of types (IType).
Public classTypeSignatureExtensions
Extension methods for ITypeSignature.
Public classTypeSpecDeclaration
Represents a type specification (TypeSpec).
Public classUnmanagedResource
Abstract class representing an unmanaged (Windows) resource. The only current implementation is RawUnmanagedResource, but later versions may provide implementations for specific types of resources.
Public classVisibilityHelper
Provides methods that determines the visibility of classes, fields and methods.
Public classWriteReflectionNameExtensions
Extension methods for the interface IWriteReflectionName.
Structures
  StructureDescription
Public structureAssemblyQualifiedTypeName
Public structureCommonString
Public structureGenericMap
Map generic arguments to their value.
Public structureLiteralString
Encapsulates a read-only array of characters.
Public structureMappedGenericDeclaration<T>
Pair of a generic definition (IGenericDefinition) and a GenericMap.
Public structureMetadataToken
Encapsulates a metadata token, which unambiguously identifies a MetadataDeclaration inside a ModuleDeclaration.
Public structureNullableBool
Three-state boolean: True, False and Null.
Public structureOpCodeInfo
Static characteristics of an MSIL opcode.
Public structureTagId
Unique identifier of a tag of the interface ITaggable.
Public structureUncompressedInstructionInt32
Public structureUncompressedOpCode
Uncompressed opcode (i.e. an opcode with its operand).
Public structureUnmanagedResourceName
Represents the name or the type of an UnmanagedResource, which can consist either in a string, either in an integer.
Interfaces
  InterfaceDescription
Public interfaceIAnnotationInstance
Exposes the fact that a custom attribute (IAnnotationValue) is applied to an element (MetadataDeclaration).
Public interfaceIAnnotationValue
Defines the semantics of a custom attribute value, i.e. basically a constructor, its arguments and other named arguments.
Public interfaceIAssembly
Defines the semantics of an assembly (AssemblyRefDeclarationAssemblyEnvelope).
Public interfaceIAssemblyDeclaration
Defines the semantics of assemblies.
Public interfaceIAssemblyIdentity
Public interfaceICloneableModuleElement
A module element that has the ability to create a clone of itself, expressed for a different module.
Public interfaceICustomDebuggingInformationOwner
Public interfaceIDeclaration
Exposes the semantics of a declaration, which is basically a module-scoped domain element.
Public interfaceIElement
Defines the semantics of a domain element, which is basically a domain-rooted tree node.
Public interfaceIField
Defines the semantics of a field (FieldDefDeclaration, FieldRefDeclaration).
Public interfaceIGeneric
Exposes the common semantics to generic instances and generic definitions.
Public interfaceIGenericDefinition
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.
Public interfaceIGenericDefinitionDefinition
Exposes the semantics of a generic definition but, unlike IGenericDefinition, are a real definition and not a reference.
Public interfaceIGenericInstance
Exposes the semantics of a generic instance (i.e. an instance of generic definition, with concretely specified generic, bound arguments).
Public interfaceIGenericMethodDefinition
Declares the semantics of a generic method definition, i.e. a method that may have unbound generic parameter and method constructions (MethodSpecDeclaration).
Public interfaceIGenericParameter
Defines the semantics of a generic parameter or argument.
Public interfaceIGenericTypeDefinition
A type that can be a generic definition (TypeDefDeclaration or ITypeRefResolutionScope).
Public interfaceIManifestResourceImplementation
Defines the semantics that are common to all physical locations that can contain resources (ManifestResourceDeclaration).
Public interfaceIMember
Defines the semantics of a type member (DeclaringType and [!:IMember.Name] properties).
Public interfaceIMemberRefResolutionScope
Defines semantics of all classes declaring external fields or methods.
Public interfaceIMetadataDeclaration
Defines the semantics of a metadata declaration, i.e. a declaration with a token.
Public interfaceIMethod
Defines the functionalities that are common to all representations of a method (MethodDefDeclaration, MethodRefDeclaration, MethodSpecDeclaration).
Public interfaceIMethodBodyVisitor
Callback interface of Visit(IMethodBodyVisitor[]).
Public interfaceIMethodSignature
Exposes the semantics of a method signature.
Public interfaceIModule
Defines the functionalities that are common to all representations of a module (ModuleDeclaration, ModuleRefDeclaration).
Public interfaceIModuleElement
Part of a ModuleDeclaration.
Public interfaceIMutableSourceDocument
Public interfaceINamedMetadataDeclaration
A MetadataDeclaration with a Name property.
Public interfaceINamedType
Defines the semantics of a type (IType) that can be named.
Public interfaceIRemovable
Defines the semantics of a declaration that can be removed from its parent.
Public interfaceISecurable
Defines semantics of declarations that can be secured by permission sets (TypeDefDeclaration, MethodDefDeclaration, AssemblyManifestDeclaration).
Public interfaceITaggable
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.
Public interfaceIType
Defines the semantics of a type.
Public interfaceITypeContainer
Exposes the semantics of a declaration that can contain type definitions (ModuleDeclaration or TypeDefDeclaration).
Public interfaceITypeDeclaration
Public interfaceITypeRefResolutionScope
Public interfaceITypeSignature
Defines the functionalities that are common to all representations of a type (TypeDefDeclaration, TypeRefDeclaration, TypeSpecDeclaration, TypeSignature).
Public interfaceITypeSignatureDeclaration
Public interfaceIWeakReferenceable
Defines the semantics of declarations (TypeRefDeclaration and AssemblyRefDeclaration) that can be "weakly references".
Public interfaceIWriteReflectionName
Delegates
  DelegateDescription
Public delegateInstructionAction
Represents an action that performs an action on the current instruction of a specified InstructionReader.
Enumerations
  EnumerationDescription
Public enumerationAssemblyAttributes
Attributes of an AssemblyManifestDeclaration.
Public enumerationAssemblyRefAttributes
Options of assembly references (AssemblyRefDeclaration).
Public enumerationBindingOptions
Determines how the binding methods behave when the requested object is not found.
Public enumerationCallingConvention
Determines the calling convention of methods.
Public enumerationDataSectionKind
Kind of section in which a DataSectionDeclaration must be stored.
Public enumerationGenericContextOptions
Public enumerationGenericParameterKind
Enumerates the kind of classes accepting generic parameters.
Public enumerationImageAttributes
Attributes of a .NET PE module.
Public enumerationInstructionBlockExceptionHandlingKind
Kinds of InstructionBlock with regard to exception handling.
Public enumerationInstructionPrefixes
Enumeration of IL prefixes.
Public enumerationIntrinsicType
Enumeration of primitive types of the .NET runtime. This includes intrinsic types.
Public enumerationLoadAssemblyOptions
Public enumerationMemberKind
Enumerates the kinds of type members.
Public enumerationMethodBodyVisitLevel
Public enumerationMethodSemantics
Enumerates the method semantics.
Public enumerationOpCodeNumber
Enumeration of all opcode numbers.
Public enumerationPeKind
Kinds of PE formats.
Public enumerationPInvokeAttributes
P-Invoke attributes.
Public enumerationReflectionNameOptions
Public enumerationSerializedValueBindingOptions
Public enumerationStandaloneSignatureKind
Enumerates the kind of stand-alone signatures (StandaloneSignatureDeclaration).
Public enumerationTokenType
Specifies the type of metadata token.
Public enumerationTypeKind
Public enumerationTypeNakingOptions
Determines the behavior of the GetNakedType(TypeNakingOptions) method.
Public enumerationTypeSignatureElementKind
Public enumerationUnmanagedResourceType
Types of unmanaged resources (like Accelerator, Icon, ...).