Base:
property
IsConst
Microsoft.CodeAnalysis.CSharp.Symbols.FieldSymbol.IsConst
10 references to IsConst
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (3)
182
if (this.IsStatic || this.
IsConst
)
273
if (this.
IsConst
)
336
else if (!this.IsStatic && !this.
IsConst
)
Symbols\Source\SourceMemberFieldSymbol.cs (7)
76
else if (
IsConst
&& !type.CanBeConst())
122
if (this.
IsConst
&& value != null
164
if (
IsConst
&& Type.SpecialType == SpecialType.System_Decimal &&
201
!
IsConst
559
if (this.
IsConst
)
573
else if (this.
IsConst
&& this.ContainingType.IsScriptClass)
668
if (!this.
IsConst
|| VariableDeclaratorNode.Initializer == null)