Open sandboxFocusImprove this doc

Namespace Metalama.Framework.Code.Collections

This namespace contains collection classes for types defined in Metalama.Framework.Code.

Classes

EnumerableExtensions

Extension methods for working with collections of compilation elements.

ParameterListExtensions

Extension methods for the IParameterList class.

Interfaces

IAssemblyCollection

IAttributeCollection

A read-only collection of IAttribute representing the custom attributes applied to a declaration.

IConstructorCollection

Read-only list of IConstructor.

IEventCollection

Read-only list of IEvent.

IExtensionBlockCollection

Represents a list of extension blocks.

IFieldCollection

Represents a list of fields.

IFieldOrPropertyCollection

Read-only list of IField or IProperty.

IImplementedInterfaceCollection

List of interfaces implemented by a named type.

IIndexerCollection

Read-only list of IIndexer.

IMemberCollection<T>

Read-only collection of members.

IMemberOrNamedTypeCollection<T>

Read-only list of IMemberOrNamedType.

IMethodCollection

Read-only list of IMethod.

INamedArgumentList

Represents a list of names arguments (i.e. setting of field or property values) in an IAttributeData. The primary interface is an IReadOnlyList<T> because the order of arguments may be important if property setters have a side effect.

INamedDeclarationCollection<T>

A collection of named elements.

INamedTypeCollection

Read-only list of INamedType.

INamespaceCollection

Read-only list of INamespace.

IParameterList

Read-only list of IParameter.

IPropertyCollection

Read-only list of IProperty.

ITypeParameterList

Read-only list of ITypeParameter.