Skip to content
Concord

Class InjectAt.Constant

Namespace
Concord.Emit
Assembly
Concord.Emit.dll

Targets an inlined literal constant in the target body.

public sealed record InjectAt.Constant : InjectAt, IEquatable<InjectAt>, IEquatable<InjectAt.Constant>
Inheritance
InjectAt.Constant
Implements
Inherited Members

Constructors

Constant(object, uint)

Targets an inlined literal constant in the target body.

public Constant(object Value, uint By = 0)

Parameters

Value object

The literal to match. Supported kinds: int, long, float, double, string.

By uint

The 1-based occurrence to target, or 0 to target every match.

Properties

By

The 1-based occurrence to target, or 0 to target every match.

public uint By { get; init; }

Property Value

uint

Value

The literal to match. Supported kinds: int, long, float, double, string.

public object Value { get; init; }

Property Value

object