ArgumentBase class for arguments to an invocation, a tuple of the declaring ParameterInfo and its value.Argument<T>A strong-typed argument, used when the argument type is known at compile-time, which avoids unnecessary value type boxing. Typically created from Create<T>(ParameterInfo, T) factory method.ArgumentCollectionContains the arguments of a method invocation as well as their parameter information.ArgumentCollectionExtensionsUsability overloads for IArgumentCollection.AsyncRegistryTyped adapters that await and rebuild and ValueTask<TResult>. The source generator calls Register<T>() for every closed awaitable a stunt returns.BehaviorPipelineEncapsulates a list of IStuntBehaviors and manages calling them in the proper order with the right inputs.BehaviorPipelineExtensionsProvides the Execute usability overloads.BehaviorPipelineFactoryProvides the global Default behavior pipeline factory used when creating new stunts.CompiledStuntFactoryProvides a IStuntFactory that creates the stunts generated at compile-time, which register themselves when their assembly is loaded.DataAnnotationsBehaviorRejects a call whose arguments fail the data annotations registered for that member.DefaultEqualityBehaviorA IStuntBehavior that implements a stunt's GetHashCode and Equals using GetHashCode() and ReferenceEquals(Object?, Object?) respectively.DefaultValueBehaviorA IStuntBehavior that returns default values from an invocation, both for the method return type as well as any out/ref parameters.DefaultValueProviderUtility class that generates default values for certain types. Used by the DefaultValueBehavior.ExceptionMappingBehaviorTranslates an exception from the rest of the pipeline.GuardBehaviorRejects a call when a predicate returns an exception.MethodInvocationDefault implementation of IMethodInvocation.MethodInvocationExtensionsUsability overloads for working with IMethodInvocation.MethodReturnRepresents the returned value(s) or exception from a method invocation.MethodReturnExtensionsUsability overloads for working with IMethodReturn.NotifyPropertyChangeBehaviorAn IStuntBehavior that raises and from property setters.ObjectArgumentA generic object-based argument, useful for cases where the type of the value isn't known at compile-time.ObservabilityArgumentsDisplay projection of an invocation's arguments. Changes here are what ObservabilityBehavior logs and tags. The target still receives the original arguments.ObservabilityBehaviorLogs a call, records its duration in milliseconds, and writes an activity named for the member.PointerRefHolds a pointer value from an intercepted signature. The pointer itself is an unmanaged value, so it is stored directly.ProceedExtensionAwaits task-returning members before the behavior inspects the result.RecordingBehaviorSimple behavior that keeps track of all invocations.RecordingBehavior.RecordedInvocationA recorded invocation.Ref<T>A utility class to hold a value that can be used for ref returns APIs.StructRefRefers to a live ref struct for the duration of an intercepted call. A class cannot store a ref struct, so this keeps the address of that stack slot. The generic StructRef<T> is added when compile-time stunts and unsafe blocks are enabled, the language version (C# 13) and the runtime (.NET 9) support allows ref struct, and the compilation does not already define it.StuntAttribute<T>Requests a compile-time stunt for T when no factory call in the project closes over that type, such as a type only known at run time: [assembly: Stunt<IDictionary<string, int>>].StuntAttribute<T, T1>Requests a compile-time stunt for T that also implements T1.StuntAttribute<T, T1, T2>Requests a compile-time stunt for T that also implements the additional interfaces.StuntAttribute<T, T1, T2, T3>Requests a compile-time stunt for T that also implements the additional interfaces.StuntAttribute<T, T1, T2, T3, T4>Requests a compile-time stunt for T that also implements the additional interfaces.StuntAttribute<T, T1, T2, T3, T4, T5>Requests a compile-time stunt for T that also implements the additional interfaces.StuntAttribute<T, T1, T2, T3, T4, T5, T6>Requests a compile-time stunt for T that also implements the additional interfaces.StuntAttribute<T, T1, T2, T3, T4, T5, T6, T7>Requests a compile-time stunt for T that also implements the additional interfaces.StuntAttribute<T, T1, T2, T3, T4, T5, T6, T7, T8>Requests a compile-time stunt for T that also implements the additional interfaces.StuntConstructorA generated, statically typed constructor of a compile-time stunt.StuntDefinitionAttributeDescribes the stunt types an externally visible generic factory method creates, so referencing projects can generate them when they call it with concrete types. The parameter types of the annotated method are the stunt types, expressed in terms of the factory method type parameters.StuntExtensionsUsability functions for working with stunts.StuntFactoryAllows accessing the default IStuntFactory to use to create stunts, as well as registering per-assembly factories so assemblies using compiled stunts and dynamic proxies can coexist safely.StuntGeneratorAttributeAnnotates a method that is a factory for stunts, so that a compile-time or design-time generator can generate them ahead of time.StuntNamingExposes the naming conventions for stunt generation and instantiation.SynchronizedBehaviorSerializes overlapping calls on a stunt with a lock that any thread can release.TargetBehaviorForwards an invocation to another instance, or to an instance created on first use.ProceedOutcomeThe settled result of one attempt performed by Proceed(IMethodInvocation, ExecuteHandler, ProceedHandler).IArgumentCollectionRepresents the arguments of a method invocation.IBehaviorPipelineFactoryCreates and optionally initializes the BehaviorPipeline for every stunt instantiation.IMethodInvocationRepresents a method invocation.IMethodReturnRepresents the result of invoking a method.IStuntInterface implemented by all stunts.IStuntBehaviorA configured behavior for an IStunt.IStuntFactoryInterface implemented by stunt factories.AppliesToHandlerImplements the AppliesTo(IMethodInvocation) method in anonymous behaviors.ExecuteHandlerHandler to invoke the Execute(IMethodInvocation, ExecuteHandler) method of a behavior.MethodInvokerInvokes one member on target using the arguments of invocation.ObservabilityRedactionProjects invocation arguments before ObservabilityBehavior logs or tags them.ProceedAgainInvokes the rest of the pipeline once and returns that attempt.ProceedHandlerReceives one settled attempt and returns the attempt the caller should observe.