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