This namespace encompasses the representation of both the source code and the transformed code.
Simplified class diagram
classDiagram IDeclaration <|-- IMemberOrNamedType IMemberOrNamedType <|-- IMember IMemberOrNamedType <|-- INamedType IMember <|-- IFieldOrProperty IFieldOrProperty <|-- IField IFieldOrProperty <|-- IProperty IMember <|-- IMethodBase IMethodBase <|-- IMethod IMethodBase <|-- IConstructor IDeclaration <|-- IParameter IDeclaration <|-- IGenericParameter IDeclaration <|-- IAttribute IDeclaration <|-- INamespace IDeclaration <|-- ICompilation IMethodBase o-- IParameter IProperty o-- IParameter IDeclaration o-- IAttribute IMethod o-- IGenericParameter INamedType o-- IGenericParameter INamedType o-- IMemberOrNamedType ICompilation o-- INamespace INamespace o-- INamedType
Extension methods for the IAttribute interface.
Reserved for future use. Specifies the context for which the display string must be generated.
Defines the formatting options of ToDisplayString(CodeDisplayFormat, CodeDisplayContext). Only well-known instances of this classes, exposed as properties, are currently supported.
Provides extension methods to the IConstructorCollection interface.
Describes the kind of constructor initializer.
Describes conversion between types possible during comparison.
Gives access to the aspects, options and annotations on a declaration.
Extension methods for IDeclaration.
Kinds of IDeclaration.
Kinds of IDeclarationOrigin.
Options for the GetDerivedTypes(INamedType, DerivedTypesOptions) method.
Kinds of iterators.
Provides extension methods to work with generic declarations.
Extension methods for the IMember interface.
Provides extension methods to the IMethodCollection interface.
Extension methods for the IMethod interface.
Kinds of IMethodBase.
Extension methods for the INamedType interface.
Kinds of operators.
Options that determine how GetTarget(ICompilation, ReferenceResolutionOptions) and related methods work.
Extension methods for the IRef<T> interface.
Kinds of parameters, such as
Extension methods for RefKind.
Encapsulates a string that uniquely identifies a declaration within a compilation (except in the situation where the compilation contains several assemblies providing types of the same name) and that is safe to persist in a file.
Encapsulates a string that uniquely identifies a type within a compilation (except in the situation where the compilation contains several assemblies providing types of the same name) and that is safe to persist in a file.
Represents a syntax node in source code.
Represents a span of source code.
Special types, such as Void.
Represents a typed value that can be defined, defined to null, or undefined. Used to represent default values, for instance DefaultValue, or custom attribute arguments.
Provides extension methods for IType.
Exposes methods that return instances of the IType interface.
Kinds of IType.
Enumerates the different abilities of a field or property to be written (set).
A non-generic base interface for the generic IAnnotation<T>. You should always implement the generic interface.
An annotation is an arbitrary but serializable object that can then be retrieved using the GetAnnotations<TAnnotation>() method of the Enhancements<T>(T) object. Annotations are a way of communication between aspects or classes of aspects.
Represents an assembly (typically a reference assembly).
Represents an assembly identity, used in project references.
Represent a custom attributes.
Represent the members of a custom attribute, but not its relationship to the containing declaration.
Represents a set of types compiled together. See also IProject.
Exposes a Compilation property.
Represents an instance constructor or a static constructor.
Represent a declaration.
Represents the origin of the code, i.e. the artefact or function created the declaration.
Defines a method ToDisplayString(CodeDisplayFormat, CodeDisplayContext) that renders the current declaration into a human-readable string.
Represent an event.
Represents a field. Note that fields can be promoted to properties by aspects.
Represents a method, constructor, or indexer.
Exposes a Type property.
Represents an indexer, i.e. a
Represents a managed resource.
Represents a method, but not a constructor.
Represents a method or a constructor.
Represents a class, struct, interface, enum, or delegate.
Represents a namespace inside the current compilation or an external assembly, according to the DeclaringAssembly property.
Represents a parameter of a method or property.
Represents a property.
Represents a reference to a declaration that can be resolved using GetTarget(ICompilation, ReferenceResolutionOptions), given an compilation, or using the GetTarget<T>(IRef<T>, ReferenceResolutionOptions) extension method for the compilation of the current context.
Represents an IExpression defined in source code, as opposed to a generated expression.
Represents a generic parameter of a method or type.