Base:
property
IsConst
Microsoft.CodeAnalysis.CSharp.Symbols.FieldSymbol.IsConst
9 references to IsConst
Microsoft.CodeAnalysis.CSharp (9)
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 (6)
76
else if (
IsConst
&& !type.CanBeConst())
122
if (this.
IsConst
&& value != null
147
if (
IsConst
&& Type.SpecialType == SpecialType.System_Decimal &&
524
if (this.
IsConst
)
538
else if (this.
IsConst
&& this.ContainingType.IsScriptClass)
636
if (!this.
IsConst
|| VariableDeclaratorNode.Initializer == null)