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)
75
else if (
IsConst
&& !type.CanBeConst())
121
if (this.
IsConst
&& value != null
146
if (
IsConst
&& Type.SpecialType == SpecialType.System_Decimal &&
523
if (this.
IsConst
)
537
else if (this.
IsConst
&& this.ContainingType.IsScriptClass)
635
if (!this.
IsConst
|| VariableDeclaratorNode.Initializer == null)