8 references to HasConstantValue
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Compilation_WellKnownMembers.cs (4)
723
if (ignoreSymbolStoreDebuggingMode is null || !ignoreSymbolStoreDebuggingMode.
HasConstantValue
)
739
if (defaultDebuggingMode is null || !defaultDebuggingMode.
HasConstantValue
)
745
if (disableOptimizationsDebuggingMode is null || !disableOptimizationsDebuggingMode.
HasConstantValue
)
757
if (enableEncDebuggingMode is null || !enableEncDebuggingMode.
HasConstantValue
)
Symbols\PublicModel\FieldSymbol.cs (1)
94
bool IFieldSymbol.HasConstantValue => _underlying.
HasConstantValue
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ConstantTests.cs (2)
2952
Assert.False(((FieldSymbol)symbol).
HasConstantValue
);
2955
Assert.False(((FieldSymbol)symbol).
HasConstantValue
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\FieldTests.cs (1)
259
Assert.False(mem.
HasConstantValue
);