SemanticParameterKind Enumeration |
Enumerates the kinds of semantic parameters passed to the AppendSemanticParameter(SemanticParameterKind, String, String, 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: 5.0.55.0 (5.0.55.0)
C#
[FlagsAttribute] public enum SemanticParameterKind
Member name | Value | Description | |
---|---|---|---|
None | 0 | None. | |
RecordKind | 1 | Record kind. | |
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). | |
CustomParameter | 2048 | Custom parameter (set by the WriteCustomParameter<T>(Int32, ArraySegment<Char>, T). | |
SourceFile | 4096 | Source file. | |
SourceLine | 8192 | Source line. | |
Duration | 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. | |
ContextId | 262144 | Id of the current context. | |
DurationThreshold | 524288 | ||
All | 1048575 | All flags. |