3 references to GetAndValidateConstantValue
Microsoft.CodeAnalysis.CSharp (3)
Symbols\ConstantValueUtils.cs (1)
50
var value =
GetAndValidateConstantValue
(boundValue.Value, symbol, symbol.Type, initValueNodeLocation, diagnostics);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
97
ConstantValue sizeConstant = ConstantValueUtils.
GetAndValidateConstantValue
(boundSizeExpression, this, intType, sizeExpression.Location, diagnostics);
Symbols\Source\SourceLocalSymbol.cs (1)
572
value = ConstantValueUtils.
GetAndValidateConstantValue
(boundInitValue, this, type, initValueNodeLocation, diagnostics);