Base:
property
IsConst
Microsoft.CodeAnalysis.CSharp.Symbols.FieldSymbol.IsConst
10 references to IsConst
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (3)
188
if (this.IsStatic || this.
IsConst
)
279
if (this.
IsConst
)
342
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 &&
199
!
IsConst
557
if (this.
IsConst
)
571
else if (this.
IsConst
&& this.ContainingType.IsScriptClass)
666
if (!this.
IsConst
|| VariableDeclaratorNode.Initializer == null)