Open sandboxFocusImprove this doc

Namespace Metalama.Framework.RunTime

This namespace contains the types that can be utilized in standard, run-time code. Other namespaces encompass types that are exclusively usable in build-time code.

Classes

AspectGeneratedAttribute

A custom attribute added to introduced parameters.

AsyncEnumerableArray<T>

Wraps an ImmutableArray<T> as an IAsyncEnumerable<T>.

AsyncEnumerableList<T>

A List<T> that implements IAsyncEnumerable<T>. This class is used when a non-iterator template is applied to an async iterator method.

FieldOrPropertyInfo

Represents a reflection FieldInfo or a PropertyInfo.

ReflectionHelper

Provides extension methods for reflection operations.

RunTimeAspectHelper

Defines helper methods used by code transformed by aspects.

RunTimeAspectHelper.AsyncEnumerator<T>

An IAsyncEnumerator<T> wrapper around an AsyncEnumerableList<T> that supports resetting. This type is used by code transformed by aspects when return value contracts are applied to async iterator methods that return IAsyncEnumerator<T>.

RunTimeAspectHelper.Enumerator

An IEnumerator wrapper around a List<object?> that supports Reset(). This type is used by code transformed by aspects when return value contracts are applied to iterator methods that return IEnumerator.

RunTimeAspectHelper.Enumerator<T>

An IEnumerator<T> wrapper around a List<T> that supports Reset(). This type is used by code transformed by aspects when return value contracts are applied to iterator methods that return IEnumerator<T>.

Structs

AsyncEnumerableList<T>.AsyncEnumerator

Implementation of IAsyncEnumerator<T>.