Base:
property
IsConst
Microsoft.CodeAnalysis.CSharp.Symbols.FieldSymbol.IsConst
9 references to IsConst
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (3)
181
if (this.IsStatic || this.
IsConst
)
272
if (this.
IsConst
)
335
else if (!this.IsStatic && !this.
IsConst
)
Symbols\Source\SourceMemberFieldSymbol.cs (6)
70
else if (
IsConst
&& !type.CanBeConst())
111
if (this.
IsConst
&& value != null
136
if (
IsConst
&& Type.SpecialType == SpecialType.System_Decimal &&
513
if (this.
IsConst
)
527
else if (this.
IsConst
&& this.ContainingType.IsScriptClass)
625
if (!this.
IsConst
|| VariableDeclaratorNode.Initializer == null)