PostSharp 5.0 / / Post­Sharp Documentation / 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(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: (
public enum SemanticParameterKind
  Member nameValueDescription
None0 None.
RecordKind1 Record kind.
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).
CustomParameter2048 Custom parameter (set by the WriteCustomParameter<T>(Int32, ArraySegment<Char>, T).
SourceFile4096 Source file.
SourceLine8192 Source line.
Duration16384 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.
ContextId262144 Id of the current context.
All1048575 All flags.
See Also