PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Block Class / Instruction­Block Properties / Instruction­Block.​Comment Property

InstructionBlock.Comment Property

Gets or sets the comment associated to the current block.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public string Comment { get; set; }

Property Value

Type: String
This comment is a purely informative string that will be rendered into the MSIL code. It should be used for diagnostics only.
See Also