SemanticParameterKind Enumeration |
Enumerates the kinds of semantic parameters passed to the AppendSemanticParameter<T>(SemanticParameterKind, ArraySegment<Char>, T, IFormatter<T>, String, Int32) method.
The enumeration is a bit mask. Values can be combined with the | operator.
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[FlagsAttribute] public enum SemanticParameterKind
Member name | Value | Description | |
---|---|---|---|
None | 0 | None. | |
RecordStatus | 1 | Record status. | |
MemberName | 2 | Member name. | |
TypeName | 4 | Type name. | |
This | 8 | Value of the this parameter. | |
Exception | 16 | Exception. | |
ParameterType | 32 | Parameter type. | |
ParameterName | 64 | Parameter name. | |
ParameterValue | 128 | Parameter value. | |
ReturnItemName | 256 | Name of the return value (if there are multiple return values). | |
ReturnItemValue | 1024 | Return value (if there are multiple return values). | |
ReturnValue | 512 | Return value (if there is a single return value). | |
CustomParameterValue | 2048 | Custom parameter (set by the WriteCustomParameter<T>(Int32, ArraySegment<Char>, T). | |
SourceFile | 4096 | Source file. | |
SourceLine | 8192 | Source line. | |
ExecutionTime | 16384 | Duration of the method execution. | |
AwaitedContextId | 32768 | Id of the awaited context. | |
AwaitedType | 65536 | Type of the right value of the await operator. | |
AwaitedMethod | 131072 | Method of the right of the await operator. | |
AsyncCallId | 262144 | Id of the current state machine instance. | |
ExecutionTimeThreshold | 524288 | Threshold for the duration of the method execution. | |
PropertyName | 1048576 | Name of a property. | |
PropertyValue | 2097152 | Value of a property. | |
MessageName | 4194304 | Name of the custom message, in semantic messages. | |
ActivityOutcome | 8388608 | Outcome of the custom activity. | |
ActivityName | 16777216 | Name of the custom activity, in semantic messages. | |
All | 16777215 | All flags. |