11 references to Create
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Conversions.cs (1)
3279
return ConstantValue.
Create
(DoUncheckedConversion(destinationType, sourceValue), destinationType);
Binder\Binder_Operators.cs (7)
2689
return ConstantValue.
Create
(newValue, resultType);
2718
return ConstantValue.
Create
(newValue, resultType);
2737
return ConstantValue.
Create
(newValue, resultType);
2759
return ConstantValue.
Create
(newValue, resultType);
4299
return ConstantValue.
Create
(newValue, resultType);
4318
return ConstantValue.
Create
(newValue, resultType);
4340
return ConstantValue.
Create
(newValue, resultType);
Symbols\TypedConstantExtensions.cs (3)
54
ConstantValue valueConstant = ConstantValue.
Create
(constant.ValueInternal, splType);
89
ConstantValue memberConstant = ConstantValue.
Create
(field.ConstantValue, specialType);
167
ConstantValue memberConstant = ConstantValue.
Create
(field.ConstantValue, specialType);