2 overrides of ValueAsObject
Microsoft.CodeAnalysis.VisualBasic (2)
Preprocessor\CConst.vb (2)
201
Public Overrides ReadOnly Property
ValueAsObject
As Object
235
Public Overrides ReadOnly Property
ValueAsObject
As Object
19 references to ValueAsObject
Microsoft.CodeAnalysis.VisualBasic (19)
Preprocessor\ExpressionEvaluator.vb (16)
544
Dim value As Object = op.
ValueAsObject
616
Return CConst.Create(CBool(value.
ValueAsObject
))
625
If value.
ValueAsObject
Is Nothing Then
689
Return CConst.CreateChecked(System.Convert.ChangeType(value.
ValueAsObject
, toSpecialType.ToRuntimeType(), CultureInfo.InvariantCulture))
747
If value.
ValueAsObject
Is Nothing Then
788
If value.
ValueAsObject
Is Nothing Then
825
If value.
ValueAsObject
Is Nothing Then
944
Return val.SpecialType = SpecialType.System_Object AndAlso val.
ValueAsObject
Is Nothing
1279
Dim LeftValue As Double = CDbl(left.
ValueAsObject
)
1280
Dim RightValue As Double = CDbl(right.
ValueAsObject
)
1408
Dim LeftValue As Decimal = CDec(left.
ValueAsObject
)
1409
Dim RightValue As Decimal = CDec(right.
ValueAsObject
)
1494
Dim LeftSpelling = If(CStr(left.
ValueAsObject
), "")
1495
Dim RightSpelling = If(CStr(right.
ValueAsObject
), "")
1541
Dim LeftValue As Boolean = CBool(left.
ValueAsObject
)
1542
Dim RightValue As Boolean = CBool(right.
ValueAsObject
)
Preprocessor\TypeHelpers.vb (3)
26
Return CType(v.
ValueAsObject
, Long)
30
Return AscW(CChar(v.
ValueAsObject
))
34
Return CDate(v.
ValueAsObject
).ToBinary