6 references to IsValidForConstantValue
Microsoft.CodeAnalysis.VisualBasic (4)
BoundTree\BoundExpression.vb (1)
76
type.
IsValidForConstantValue
(constValue))
BoundTree\BoundExpressionExtensions.vb (1)
371
Debug.Assert(node.Value.IsBad OrElse node.Type.
IsValidForConstantValue
(node.Value))
Semantics\Conversions.vb (1)
739
Debug.Assert(sourceExpressionType.
IsValidForConstantValue
(sourceValue))
Semantics\Operators.vb (1)
728
Debug.Assert(underlyingResultType.
IsValidForConstantValue
(operandValue))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\Conversions.vb (2)
522
Assert.True(type2.
IsValidForConstantValue
(resultValue))
531
Assert.True(type2.
IsValidForConstantValue
(resultValue))