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