Table of Contents

Class LateType.ConstructorForward

Namespace
Dynamitey.DynamicObjects
Assembly
Dynamitey.Community.dll

Forward argument to constructor including named arguments

public class LateType.ConstructorForward : DynamicObject, IDynamicMetaObjectProvider
Inheritance
LateType.ConstructorForward
Implements
Inherited Members

Methods

TryInvoke(InvokeBinder, object?[]?, out object?)

Tries the invoke.

[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "Calls the annotated Dynamic.InvokeConstructor. This is a DynamicObject.TryInvoke override: it can't carry [RequiresUnreferencedCode] itself without mismatching the unannotated base member, and the DLR invokes it only after the consumer's own dynamic call site already triggered the framework's warning.")]
[UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Same Dynamic.InvokeConstructor call as above; see the IL2026 suppression on this member.")]
public override bool TryInvoke(InvokeBinder binder, object?[]? args, out object? result)

Parameters

binder InvokeBinder

The binder.

args object[]

The args.

result object

The result.

Returns

bool