Kinds of use of a method at a site.
Namespace: Metalama.Extensions.Interceptors
Assembly: Metalama.Extensions.Interceptors.dll
Syntax
[CompileTime]
public enum MethodUseKindRemarks
Later versions can add values. A new kind is presented to existing registrations.
Fields
| Name | Description |
|---|---|
| Call | An invocation, for example |
| DelegateCreation | A method group converted to a delegate, for example |
| EventSubscription | A method group added to an event, for example |
| EventUnsubscription | A method group removed from an event, for example |
| FunctionPointer | A method group converted to a function pointer, for example |
| None | The default value, which is not a valid use of a method. |