Skip to content
Concord

Class Operation

Namespace
Concord
Assembly
Concord.Emit.dll

Control parameter used by invoke injections.

public sealed class Operation
Inheritance
Operation
Inherited Members

Methods

Invoke()

Invokes the original operation (a zero-argument void call site, or a zero-parameter void target method under whole-method Around) from inside a wrap injection.

[SuppressMessage("Critical Code Smell", "S1186", Justification = "Marker signature erased and replaced by Concord IL lowering at emit time; a real body would be dead code.")]
[SuppressMessage("Performance", "CA1822", Justification = "Lowering matches Call/Callvirt on an Operation instance; making this static would change the emitted call shape and stop ControlHandleLowering from recognising the site.")]
public void Invoke()