Open sandboxFocus

Enum CallerKind

Kinds of code that immediately contain a site.

Namespace: Metalama.Extensions.Interceptors
Assembly: Metalama.Extensions.Interceptors.dll
Syntax
[CompileTime]
public enum CallerKind

Fields

Name Description
ConstructorInitializer

The this(...) or base(...) initializer of a constructor.

Initializer

The initializer of a field, a property or an event.

Lambda

A lambda or an anonymous method.

LocalFunction

A local function.

MemberBody

The body of a method, of an accessor or of a constructor.

None

The default value, which no call site has.

PrimaryConstructorBaseArgument

The argument list passed to the base type by a primary constructor.

TopLevelStatement

A top-level statement.