PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Semantic­Parameter­Kind Enumeration

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: 6.1.23.0 (6.1.23.0)
Syntax
C#
[FlagsAttribute]
public enum SemanticParameterKind
Members
  Member nameValueDescription
None0 None.
RecordStatus1 Record status.
MemberName2 Member name.
TypeName4 Type name.
This8 Value of the this parameter.
Exception16 Exception.
ParameterType32 Parameter type.
ParameterName64 Parameter name.
ParameterValue128 Parameter value.
ReturnItemName256 Name of the return value (if there are multiple return values).
ReturnItemValue1024 Return value (if there are multiple return values).
ReturnValue512 Return value (if there is a single return value).
CustomParameterValue2048 Custom parameter (set by the WriteCustomParameter<T>(Int32, ArraySegment<Char>, T).
SourceFile4096 Source file.
SourceLine8192 Source line.
ExecutionTime16384 Duration of the method execution.
AwaitedContextId32768 Id of the awaited context.
AwaitedType65536 Type of the right value of the await operator.
AwaitedMethod131072 Method of the right of the await operator.
AsyncCallId262144 Id of the current state machine instance.
ExecutionTimeThreshold524288 Threshold for the duration of the method execution.
PropertyName1048576 Name of a property.
PropertyValue2097152 Value of a property.
MessageName4194304 Name of the custom message, in semantic messages.
ActivityOutcome8388608 Outcome of the custom activity.
ActivityName16777216 Name of the custom activity, in semantic messages.
All16777215 All flags.
See Also