PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Field­Def­Declaration Class / Field­Def­Declaration Properties / Field­Def­Declaration.​Is­Const Property

FieldDefDeclaration.IsConst Property

Determines whether the field is constant (i.e. literal).

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool IsConst { get; }

Property Value

Type: Boolean

Implements

IField.IsConst
See Also