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