31 references to Value
Microsoft.CodeAnalysis.VisualBasic (31)
Preprocessor\CConst.vb (1)
154Return boolValue.Value
Preprocessor\ExpressionEvaluator.vb (30)
601Return If(DirectCast(cond, CConst(Of Boolean)).Value, whenTrue, whenFalse) 661Dim numericVal As Long = CLng(tv.Value) 755Dim ch = If(tv.Value Is Nothing, CChar(Nothing), CChar(tv.Value)) 819Return CConst.Create(CStr(tv.Value)) 870Return CConst.Create(-(CShort(DirectCast(val, CConst(Of Boolean)).Value))) 872Return CConst.Create(-(DirectCast(val, CConst(Of Byte)).Value)) 874Return CConst.Create(-(DirectCast(val, CConst(Of Decimal)).Value)) 876Return CConst.Create(-(DirectCast(val, CConst(Of Double)).Value)) 878Return CConst.Create(-(DirectCast(val, CConst(Of Int16)).Value)) 880Return CConst.Create(-(DirectCast(val, CConst(Of Int32)).Value)) 882Return CConst.Create(-(DirectCast(val, CConst(Of Int64)).Value)) 884Return CConst.Create(-(DirectCast(val, CConst(Of SByte)).Value)) 886Return CConst.Create(-(DirectCast(val, CConst(Of Single)).Value)) 888Return CConst.Create(-(DirectCast(val, CConst(Of UInt16)).Value)) 890Return CConst.Create(-(DirectCast(val, CConst(Of UInt32)).Value)) 892Return CConst.Create(-(DirectCast(val, CConst(Of UInt64)).Value)) 899Return CConst.Create(+(CShort(DirectCast(val, CConst(Of Boolean)).Value))) 909Return CConst.Create(Not (DirectCast(val, CConst(Of Boolean)).Value)) 911Return CConst.Create(Not (DirectCast(val, CConst(Of Byte)).Value)) 913Return CConst.Create(Not CLng(DirectCast(val, CConst(Of Decimal)).Value)) 915Return CConst.Create(Not CLng(DirectCast(val, CConst(Of Double)).Value)) 917Return CConst.Create(Not (DirectCast(val, CConst(Of Int16)).Value)) 919Return CConst.Create(Not (DirectCast(val, CConst(Of Int32)).Value)) 921Return CConst.Create(Not (DirectCast(val, CConst(Of Int64)).Value)) 923Return CConst.Create(Not (DirectCast(val, CConst(Of SByte)).Value)) 925Return CConst.Create(Not CLng(DirectCast(val, CConst(Of Single)).Value)) 927Return CConst.Create(Not (DirectCast(val, CConst(Of UInt16)).Value)) 929Return CConst.Create(Not (DirectCast(val, CConst(Of UInt32)).Value)) 931Return CConst.Create(Not (DirectCast(val, CConst(Of UInt64)).Value))