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