2 implementations of ConstantValue
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\LocalSymbol.cs (1)
58object ILocalSymbol.ConstantValue => _underlying.ConstantValue;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\LocalSymbol.vb (1)
354Public ReadOnly Property ConstantValue As Object Implements ILocalSymbol.ConstantValue
5 references to ConstantValue
Microsoft.CodeAnalysis.CSharp (2)
SymbolDisplay\SymbolDisplayVisitor.cs (2)
285CanAddConstant(symbol.Type, symbol.ConstantValue)) 291AddConstantValue(symbol.Type, symbol.ConstantValue);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
4585Assert.Equal(2, symbol.ConstantValue);
Microsoft.CodeAnalysis.VisualBasic (2)
SymbolDisplay\SymbolDisplayVisitor.vb (1)
300AddConstantValue(symbol.Type, symbol.ConstantValue)
Symbols\Source\LocalSymbol.vb (1)
354Public ReadOnly Property ConstantValue As Object Implements ILocalSymbol.ConstantValue